Password lock a web page

From CVL Wiki

Revision as of 12:53, 12 February 2008 by Jkh (Talk | contribs)

Jump to: navigation, search

There are several different way to protect a web page. All of these methods depend upon creating a HyperText Access file (.htaccess) in the directory that you want to password protect. This file will password protect all of the files (web pages) in that directory and all files (web pages) in any subdirectories.

 (Note that the name of this file starts with a period.)

There is three ways that people usually might like to password protect a web page:

  • Creating a Username and Password that is not tied to any other authentication mechnism.
  • Using the campus PID/Password.
  • Using CVL accounts for login

Campus Login

The most common way of password locking the web page is to use allow people to login using their campus PID / passowrd. (This is your campus provided login, not your CVL login.) For this you must create a .htaccess file that looks like this:

Views
Personal tools
Support