This page gives you an introduction to Web security. We give you a sample username and password to try out.

For more information on setting up your own security using NCSA HTTPD, see this tutorial at

If you have any comments, please E-mail them to me: <>

Max Parke

Not all Web browsers provide user authentication. If yours doesn't, you're out of luck here. I have defined "SAMPLE PROTECTED DOCUMENT" as protected, meaning that the Web won't allow anyone to read it without proper identification.

Some browsers handle authentication poorly. If you switch from one document to another, and they have different passwords, the browser's response can be confusing. One leading browser will display `Authorization failed. Retry?' when this happens. You should click YES if this happens, then enter the username and password for the new document.
In extreme cases, you may have to reload the protected page, especially if you had previously responded NO to the `Authorization failed. Retry?' message.

The username you should enter when asked is sample
The password is secret


  • Although the example shown above is not equipped to demonstrate them, here are some other things you can do with Web security:

    © Copyright 1995, Max H. Parke <>