F
FAQ server
-----------------------------------------------------------------------
FAQ Topic - How can I prevent access to a web page by
using javascript?
-----------------------------------------------------------------------
In practice you can't. While you could create a suitable
encryption system with a password in the page, the level of
support you need to do this means it's always simpler to do it
server-side. Anything that "protects" a page
other than the current one is definitely flawed.
The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/
FAQ Topic - How can I prevent access to a web page by
using javascript?
-----------------------------------------------------------------------
In practice you can't. While you could create a suitable
encryption system with a password in the page, the level of
support you need to do this means it's always simpler to do it
server-side. Anything that "protects" a page
other than the current one is definitely flawed.
The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/