| Ross Riley 2004-04-21, 2:40 pm |
| There are two ways to do this.
The easiest is by using what's called HTTP authentication.
Basically this is configured on your server and prevents access to certain
directories on the server.
The reason this is easiest to set up is because most hosting companies give
you a control panel which allows you to set up protected directories in this
way.
The other way to do it (which is used in the example you posted) is with a
database of users.
To do this you'd need database and server side scripting support with your
host.
The most common way to achieve this is via a PHP/MySQL combination.
Your host must support this for you to use this method.
If they do then you need to setup a database of users and passwords, and then
use the server behaviours in Dreamweaver to password protect pages and log in
users.
Ross
|