Security Config
Note
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 server node is required to provide node level security services to all users. security.ncconf allows the user 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.
Note
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 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