Security Config
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 users. This config file specifies the LDAP path for distributed directory information services over an IP network. The user should exist under a given domain in LDAP. For more information, see Lightweight Directory Access Protocol.
Note
You will find security.ncconf at %NCHOME%\config
in Windows or opt/ncache/config
in Linux.
Security Config Syntax and Tags
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). The 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.
See Also
Cache Config
Client Side Configurations
Bridge Config
Client Side Configurations