Discussion Locked

Password control of Web page access

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Where can I learn the basics of allowing only a regulated list of users to gain access to a web page? I have a basic knowledge of web page design using Front Page 2000.

5 replies

by tjc

There really is no easy way to explain how to do this since it really depends upon you web host provider.

Usually what you do is upload the pages you want people to have passwords into a seprate folder on the site that the web host has setup needing a password and then you need to follow that providers way of accessing the file/page.

Sorry could give you a better explination but what you need to do is check with your provider on how they do security this way.

Also some places like www.javascript.com have code that you can do to simple protection by have a javascript on a form on a page that they have to put in before the link will activate but this is easily overcome by directly ftping the site in questions and viewing the contents of the site.

Hoped that help.

by jay eckles

This URL is the classic introduction to HTTP Basic Authentication, which is how you control access on an Apache or other Httpd descended web server:
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html
(remember to remove any spaces).

If you'reusing another web server, it will probably have a different authentication scheme, and you'll have to read the manual.

Do not ever use client-side Javascript for "security". It's not secure. It by definition can't be because all the code, including the key, is on the client side. If you feel you must build your own security, you have to use a server-side script. Presumably you'd store a list of users and their one-way encrypted passwords in a database or file, then compare the one-way encryption of the password you receive to what's in your database. That's the general idea, but there's more to it than that and it's not advised to build your own security (note do what I say, not what I do). ;-).

Good luck.

Jay Eckles
www.jayeckles.com

This discussion is closed to new replies.