Disable macros out of process

J

Jason Kester

I have a Word doc that contains a macro. Under a
particular user context I am able to disable macros for
the user and have no problems opening the document in
Word without the macro running.

I have a service which runs under the same user context
above and launches the document out of process with
CreateObject("Word.Application"), but the macro still
runs even though it is disabled for the user.

Is there an additional setting that must be applied to
prevent the macro from running when Word is run out of
process?

Thanks,
Jason
 
C

cleber

It's impossible.
If you to know this, it will be a security fails.
Anyone could create a macro virus to explore this issue.
 
G

Guest

I'm not sure I understand why DISABLING macros out of
process would be a security risk. I could see forcing a
macro to run being a risk, but not preventing it.

It seems to me that if I have my security settings for
macros set to high to prevent all macros from running,
the security risk would be that someone could run some
code under my user context to launch Word out of process
to open a document containing a macro virus which would
then run and infect my system. Had I been able to block
that, I would've been safe. That seems like the security
risk to me.

Is my logic flawed? Please help.

Thanks much!
Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top