![]() |
![]() |
|
|
|
Password protecting a directory Create a file named ".htaccess" in the directory you want to list. It should contain the following.
Now, create the htpasswd file.
Password Protecting a directory with NIS Create a file called .htaccess in the directory you wish to secure with contents similar to this.
Password Protecting a Directory with Kerberos Create a file called .htaccess in the directory you wish to password protect. It will ask for you Kerberos (in this case, Active Directory) password. If you're like us and using Active Directory servers as your KDCs, then this will eliminate a lot of confusion with your users.
AuthType KerberosV5
AuthName "Active Directory Password Required"
KrbAuthAuthoritative on
KrbAuthRealm ENGINEERING.UC.EDU
KrbLifetime 300
Require user occuser1 occuser2 occuser3
|
|||