Thread
:
Web developers - what's the easiest way to password protect a page?
View Single Post
jeffgrant
Registered
Join Date: Mar 2005
Location: London, ON, Canada
Posts: 1,737
Quote:
Originally Posted by
einreb
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.
07-23-2009, 07:03 AM
Pelican Parts Catalog
|
Tech Articles
|
Promos & Specials
#
11
(
permalink
)
jeffgrant
View Public Profile
Visit jeffgrant's homepage!
Find More Posts by jeffgrant