|
Web Design > Restricting Access (Columbia) If you choose to use the university network ids(UNIs), unix groups and/or affiliations in the lookup database for authentication for your files on the secure server; then you should put the line AuthKrbUserType
krb in your .htaccess file. Here is an example of a .htaccess file that will allow access to anyone with a valid Columbia UNI:
AuthType
Basic AuthName "test" AuthKrbUserType krb allow from all require valid-user The next example limits access to Barnard College students plus one user with the UNI of zm4:
AuthType Basic AuthName "test" AuthKrbUserType krb satisfy any deny from all require group BCstudent require user zm4 The next example limits access to Barnard College students, the user with the UNI of zm4 and anyone in the unix group rad:
AuthType Basic AuthName "test" AuthKrbUserType krb satisfy any deny from all require group BCstudent CUNIX_rad require user zm4 There are many more affiliations that you can use just like BCstudent in the example above or you can list each individual user in "require user." You must use the secure server for your protected directory. Be sure to provide your users with a log out as well. If you have users without a Columbia affiliation, you will need to follow the directions for non Columbia users. « Back to Restricting Access |
![]() |
![]() |
![]() |
About Affiliations About Using the Secure Server Restricting Access (Non-Columbia) Creating a Logout Page |

