View Single Post
jeffgrant jeffgrant is offline
Registered
 
jeffgrant's Avatar
 
Join Date: Mar 2005
Location: London, ON, Canada
Posts: 1,737
Quote:
Originally Posted by einreb View Post
I was assuming (my fault) PHP or ASP server side script for that 'solution'.

He asked for something simple, that's a simple solution that requires a bit of coding.

If it allows htaccess files, go that direction. if its an iis machine (some IIS hosts also allow htaccess), here's some code to use the web.config method...

http://support.netfirms.com/idx.php/73/786/article/How-do-I-passwordprotect-a-web-page-using-ASPNET.html
Ahh... my bad. I never really consider Javascript as a server-side solution, only client side.
Old 07-23-2009, 07:03 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)