ciao
negative, no password is safe with javascript. yet protection of the pages
by a server side language is so easy a thing after all for most common
purposes (well we're not sepaking of financial transactions I suppose!) that
even a minimal asp or php support would grant you the trick.
But in javascript, no way. All the solutions eventually crush against this:
the javascript protected page can be bookmarked, and then viewed bypassing
the 'password'. You could arguably put all within a frameset, and find a
complex way to redirct always to some page if the password is not protected,
but eventually you come to this: if your password is by javascript, then it
has to be written within some js file, no matter how obfuscated: whoever
sees the js file gets the password.
If you want a mild 'protection' say to avoid kids maybe it works, but if you
truly need to have your page reserved, only server side can do that.
"Eagle35" <ea*****@hotmail.com> ha scritto nel messaggio
news:bn*******************@news.demon.co.uk...
any one now any good java/Html for password pages so i can protect some
pages??
Thanks