The Medical
University of South Carolina   About MUSC  ·  Education  ·  Medical Center  ·  Research  ·  Library   

The Medical University of South Carolina

MUSC Web Server Developers' Corner

With the new MUSC Web Server, you can now use AuthLDAP to do authentication, instead of the file access method. For security reasons of having a password file stored on our public web server, this is the preferred method. To set up your site to authenticate against the AuthLDAP, add the following lines to an .htaccess in the site directory you need authentication for.

AuthName "MUSC LDAP Authentication"
AuthType Basic
PerlAccessHandler ForceSSL
ldaps://authldap.musc.edu/ou=people,dc=musc,dc=edu?uid?sub?(objectClass=*)
Require valid-user


If you desire to only allow certain people to authenticate, specify their MNAs at the Require directive as such:

AuthName "MUSC LDAP Authentication"
AuthType Basic
PerlAccessHandler ForceSSL
ldaps://authldap.musc.edu/ou=people,dc=musc,dc=edu?uid?sub?(objectClass=*)
Require user userMNA1 userMNA2 userMNA3

171 Ashley Avenue Charleston SC 29425 (843) 792-2300