PDA

View Full Version : Encrypted Password



gpfielder
05-24-2005, 02:50 PM
I have a page that needs to be moderately protected so I thought java script would be the way to go, instead of using the server applications. Everything works lovely, except the fact that I can bypass the login page and just type in the address of the page and it lets me in. Is there any way to prevent this?

Thanks,
Gina Fielder

mwinter
05-24-2005, 05:22 PM
I have a page that needs to be moderately protected [...]. Everything works lovely, except the fact that I can bypass the login page and just type in the address of the page and it lets me in. Is there any way to prevent this?No. Only intervention server-side can prevent a resource from being accessed. This doesn't have to be in the form of a server-side script. It could be through the Basic or Digest HTTP Authentication schemes, which should be implemented natively by the server itself.

In either case, the solution is still provided by the server.

Mike