Password lock a web page
From CVL Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
There are several different way to protect a web page on the CVL. All of these methods depend upon creating a file in the directory that you want to password protect. | There are several different way to protect a web page on the CVL. All of these methods depend upon creating a file in the directory that you want to password protect. | ||
This file is called '''.htaccess'''. Please note that the name of this file starts with a period. | This file is called '''.htaccess'''. Please note that the name of this file starts with a period. | ||
+ | |||
+ | ;There are three ways that people might like to password protect a web page: | ||
+ | |||
+ | :Single login/password. | ||
=Campus 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.) | 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: | For this you must create a .htaccess file that looks like this: |
Revision as of 16:23, 11 February 2008
There are several different way to protect a web page on the CVL. All of these methods depend upon creating a file in the directory that you want to password protect. This file is called .htaccess. Please note that the name of this file starts with a period.
- There are three ways that people might like to password protect a web page
- Single login/password.
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: