This feature is only available in NCache Enterprise edition.
Every server node keeps security information for operations that require administrative privileges. Alachisoft.NCache.Security.dll at the server node and it is required to provide node level security services to all users, security.ncconf allows users to manage node level security.
NCache uses pure LDAP Service for the authentication of user. This config file specifies LDAP path for distributed directory information services over an IP network. The user should exist under given domain in LDAP. For more information, see Lightweight Directory Access Protocol.
You will find security.ncconf at
%NCHOME%\config in Windows or
opt/ncache/config in Linux.
security.ncconf file is explained below:
<cache-security enabled="True"> <ldap host="yourprimarydomain" port="389"/> <ldap-secondary host="yoursecondarydomain" port="389"/> <administrators> <admin id="john_smith" dn="CN=John Smith,OU=admin,DC=yourdomain,DC=org"/> <admin id="david_watson" dn="CN=David Watson,OU=admin,DC=yourdomain,DC=org"/> </administrators> </cache-security>
enabled: Tells users if security is enabled or not (True/False). Default value is False.
ldap: Keeps information about the primary domain controller for your applications.
host: Specifies the name/IP of the primary domain controller for the users.
port: Specifies the port on which the primary domain controller is running.
ldap-secondary: Specifies the information about the secondary domain controller for your application.
host: Specifies the name/IP of the secondary domain controller for the users.
port: Specifies the port on which the secondary domain controller is running.
administrators: Keeps a list of users having rights on all node-based and API-based operations.
admin: Specifies admin credentials.
id: Specifies the user ID.
dn: Specifies the user's distinguished name.