Newbie Question: Password Protected Site


J

Jason

Hello,
I'm fairly new to Javascript. I was wondering if someone could direct
me to some code samples for a password protected site. It's not
crucial information, so some basic code I think is all I need. I
actually have a functioning script on the first page that works
nicely, but what I'm having trouble understanding is how to design
site-wide protection so interior pages will be protected as well...

Thanks,
Jason
 
Ad

Advertisements

R

Randy Webb

Jason said:
Hello,
I'm fairly new to Javascript. I was wondering if someone could direct
me to some code samples for a password protected site.

For a client side javascript protection, you aren't going to find one
thats worth anything.
It's not crucial information, so some basic code I think is all I need.

If its not crucial, why the concern about protecting it?
I actually have a functioning script on the first page that works
nicely, but what I'm having trouble understanding is how to design
site-wide protection so interior pages will be protected as well...

If you want to protect it, or a sense of protection anyway, do your
protecting on the server. Anything you do on the client is 99% fallible
and unreliable when it comes to security.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top