Jean-Guy
Fri Apr 15 07:46:36 CDT 2005
Laurens . was telling us:
Laurens . nous racontait que :
> Hey all..
> I programmed a code in word VBA and access to the word-document
> depents on the date when someone logs in. But people who know this
> can easily change the date in the Operating System (the system clock)
> I want to get the date and time from a website as a check that runs
> when someone logs in, or tries to (if the date has expired).
> Can anyone help me with this?
If people are already trying to get around your security features, whatever
code you use to prevent that will not help. All they have to do is set the
security to maximum and your code will not run, thus the date checking will
not execute and the document will open anyway...Or, if they open it once,
they can save it as RTF and all the code will be stripped... Or, etc. There
are many ways around any security system you could devise in a Word
document.
If controlling access to the document is important, try PDF documents which,
I believe, can include some Java script to enhance the built-in security.
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site:
http://www.word.mvps.org