Davis Howard <davis.howard RemoveThis @worldnet.att.net> wrote:
> Hello Webmasters, boy am I glad I found you. I'm interested in the
> software HTML PASSWORD 3.1 PRO. The crew at
> <a style='text-decoration: underline;' href="http://www.minihttpserver.net/htmllock/index.php" target="_blank">http://www.minihttpserver.net/htmllock/index.php</a> claims to have the perfect
> solution for password protecting a Web page:
>
> # Use JavaScript uncompress.
> # Disabled mouse right click.
> -------
> Any information will help.
Using javascript is not acceptable. It's insecure, the web *server*
doesn't know anything about javascript, so anyone who wanted could
simply access the files anyway.
The easiest approach is to just use .htaccess, this is a manual process
however. (You'll need to create a new user each time you want to grant
someone access)
You can also use .htaccess with something called "Groups", which is a type
of "access level" system. It's the standard approach, people have
been using it for years. (Some people don't like the rather
intrusive/alarming "Login Box" that it creates though)
For a more automated way to do it, see my .sig, I make a product for
password protecting web sites and user preferences that does NOT rely on
javascript. (It may be overkill for your needs though)
Jamie
--
<a style='text-decoration: underline;' href="http://www.geniegate.com" target="_blank">http://www.geniegate.com</a> Custom web programming
User Management Solutions Perl / PHP / Java / UNIX<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Password Protecting A Web Page