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.
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</enabled><!-- Change the value true/false to enable or disable security feature in NCache --> <!-- DomainControllerName is required to log-on to domain. --> <ldap>DomainControllerName</ldap> <port>389</port> <!-- Following users are Administrators and are allowed to add 'this' node into their clusters and also allowed to perform Cache operations at API level for all Caches.--> <administrators> <user id="john_smith" dn="CN=John Smith,OU=admin,DC=yourdomain,DC=org"/> <user 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).
ldap: specifies LDAP path for distributed directory information services over an IP network. It is the domain controller for your applications. NCache uses pure LDAP Service for authentication of user. User should exist under given domain in LDAP. For more information, see Lightweight Directory Access Protocol.
administrators: keeps list of users having rights on all node-based and API-based operations.
port: the port where the domain controller listens.