Doug van Vianen wrote:
Is there some way to use JavaScript within a web page
without having the security problem pop up?
Your page works fine when run from the web (under default IE security
settings).
When you run it *from disk*, IE runs it under the security settings for
the "Local Computer" zone. These days, those settings are usually
*more* severe, not *less* severe, than the settings for the Internet
zone. Hence the warnings you're referring to.
To test you page locally, ie. running it from your hard dsk, you need
to tell IE to run it under the Internet zone security settings, not the
Local Computer zone settings. To do that, just add the following line
to the top of the file, and leave it in there permanently:
<!-- saved from url=(0014)about
:internet -->
This is called, the "mark of the web" or MOTW. Google those terms for
more information.
Some people mistakenly think that the MOTW is a security problem.
That's not true, it shows a misunderstanding of how the security
features work. It's not a security hole of any description.
If you reply to this post, please note that l will not be in a position
to read this thread again for several days.
HTH,
TC (MVP MSAccess)
http://tc2.atspace.com