Pop up password protect
Posted
by steve
on Stack Overflow
See other posts from Stack Overflow
or by steve
Published on 2010-04-07T23:56:43Z
Indexed on
2010/04/08
0:03 UTC
Read the original article
Hit count: 211
JavaScript
Please not that I fully understand this is a dumb ass idea, but its not my idea.
We need to deter people visiting a certain page on our site. It's written in ASP and I don'tknow ASP! Can anyone tell me how I can have a pop up box load when the URL is visited where by people have to enter a username / password.
The user name / password should be stored in the javascript.
(Yes I know)
The only real requirement is that this happen anytime the page is loaded and it stays on that page.
So the page is test.asp - javascript pops up they enter credentials and if right remain on test.asp
Thanks
© Stack Overflow or respective owner