to get date and time from a website

L

Laurens .

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?
 
J

Jean-Guy Marcil

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
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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