Jonathan
Wed Jan 07 10:02:28 CST 2004
Hi cw
"code_wrong" <tac@tac.ouch.co.uk> wrote in message
news:bth87e$6o7$1@news5.svr.pol.co.uk...
> What is the point of having a macro language in Word et al when
> the majority of users will have their macros capability turned off
> for fear of macro viruses i.e Melissa?
There are ways of distributing templates with code that will run even when
security is set to high. The general principle is that you need to have a
digital signature with which the template can be signed. When the template
it installed on the user machine, the user has the option of accepting or
not accepting the signature. Accepting it enables the code to run even
though security is still set to High.
I had my doubts about whether the system was workable when it was first
introduced to VBA in Office 2000, but it seems to have worked pretty well
overall.
>
> When would one use such a capability?
Whenever you want to distribute applications into a high-security
environment.
>
> If you allow the user to turn on the macro capability the risk is huge
> What if a user is not security conscious?
If the code is signed then the security provisions remain in place for all
unsigned code. All the user is doing by accepting your certificate is
allowing *your* code to run.
--
Regards
Jonathan West - Word MVP
http://www.multilinker.com
Please reply to the newsgroup