| SurgeLDAP Security | ||
|
SurgeLDAP has a number of ways to improve the security of your data.
From limited user access to selected fields to limiting machines by IP
and the number of connections each can do.
  The following will describe what is available in SurgeLDAP.   Within the SurgeLDAP admin web interface you can see what connections are currently active and also list the 'IP Details' history about the modules. This is located in the 'IP Limiting' section of the 'Site Status'. |
| Limiting Access By IP | ||
|
SurgeLDAP supports the ability to limit protocol connections
from selected IP addresses. You can, not only limit IP connections
via LDAP protocol but each seperate protocol with a different range
of IP addresses.
  Within your surgeldap.ini file will be lines like this:  
The above settings are the SurgeLDAP v1.0k default settings, Which allowing the most common local area network IP addresses. If no IP address are provided then all connections will be accepted.   You should setup the IP limits depending on who you wish to provide access. We suggest limiting this to as small trusted group of computers. |
| Limiting Usage by IP | ||
SurgeLDAP supports the ability to limit protocol connections
by IP on how they are used. Where you can:
Within your surgeldap.ini file will be lines like this:  
The above settings are the SurgeLDAP v1.0k default settings. The most common local area network IP addresses are setup to bypass these checks so that if you setup apps within the local area network they will not be refused connections for any reason.   You can setup seperate rules for each protocol that you setup within SurgeLDAP. In the above example the 'main' ldap server and 'web' server are setup seperately.   You can setup mutiple seperate LDAP ports (143, 1143, 2143, ..etc.) each having their own limits, if desired. |
| Limiting Selected Fields | ||
|
SurgeLDAP allows you to set fields to have security levels. These
security levels rate from 0 (everyone) to 20 (SurgeLDAP admin only).
  This security level is setup within the schema files themselves, where the default is to allow everyone access is not defined.   SurgeLDAP schemas which are setup by default have 4 levels which are setup.  
The above is just a guide, and you can change these if you wish by changing the schema files. THe schema file example of this is:  
The 'HIDDENx' tag determines the security level of this field.   If you wish to setup a user/pass login to SurgeLDAP to allow access to a selected security level you will need to edit the SurgeLDAP 'user.dat' file, to include the 'Hiddenx' level you wish the user to have access to. An example of the user.dat file is:  
In this case the 'manager' as full access, but 'lynden' has only access to level 8, which is just just the main surgemail/surgeftp/surgenews settings. But is not allowed access to the users passwords. |
| Encoding Passwords | ||
|
SurgeLDAP allows you to setup the encoding method to be used
to store passwords with the LDAP server.
  SurgeLDAP supports 4 encoding methods as well as clear text passwords.  
The default schemas are setup to use SSHA encoding. To change this you will need to change the schema files. The example of this is:  
All you need to do is uncomment out the encoding method you would like to use and comment out the SSHA encoding method. Passwords which have already been encoded will not change their encoded unless set again.   Not only can you encode passwords you can encode any field on your choosing, where decoding back to the orginal is not required.   We suggest that you do not use clear text passwords unless you have applications which requires this. |