charon
11-23-2002, 03:26 AM
hi, I have come across some of the examples about the password protection in Javascript. But, all of them will try to load the page (where the password protection script is coded) and prompt the user for password. Would it be possible for me to write something like, just prompt the Dialog box only without load the page?? once the password has been validated, then only the protected page is loaded.
For instance, like our firewall in proxy server, when the user try to access the internet by enter http://www.yahoo.com, a dialog box will be pop up for password, once the user who has authority for accessing the net, then the page will be loaded.
Thanks!
For instance, like our firewall in proxy server, when the user try to access the internet by enter http://www.yahoo.com, a dialog box will be pop up for password, once the user who has authority for accessing the net, then the page will be loaded.
Thanks!