UvA FNWI UvA


 
  1 visitors in
February 2012
 
  last update
17 - 11 - 2008
 
 

 

Building Intranets

In order to build an intranet site you must place an .htaccess file that implements the required access restrictions in the topmost directory of your site.

The most common intranet site is accessible by a single (institute) group. Authentication of a user acccessing the intranet site is done by checking the username and password against the information stored in the LDAP server.

The following .htaccess file gives access to the users belonging to the group "ibed":

AuthName "Demo"
Order deny,allow
Deny from All
AuthType Basic
AuthBasicProvider ldap
AuthLDAPURL ldap://omni.science.uva.nl/dc=science,dc=uva,dc=nl?uid?sub
AuthzLDAPAuthoritative on
AuthLDAPGroupAttribute memberUid
AuthLDAPGroupAttributeIsDN off

Require ldap-group fnwiCtrId=groups-358,ou=group,dc=science,dc=uva,dc=nl
Require ldap-attribute gidNumber=10030

Satisfy any

Since the "Require" lines are by no means obvious, you can enter an groupname in the form below to have the system generate an .htaccess file for you.

Group: