This feature is only available in NCache Enterprise edition.
Every Server node keeps security information that it has to provide to calling
clients. Alachisoft.NCache.NCSecurity.dll at server node is required to
provide security services to all clients. Whatever information is required by
this assembly, for managing security related issues, is present
in security.ncconf file. Thisfile helps enabling NCache security as
well as to manage Node and API level security. You will
find security.ncconf at
security.ncconf file is explained below:
<!-- Security Configuration file for NCache 3.8 and later versions --> <cache-security> <enabled>true</enabled> <!-- This value shows whether security feature in NCache is enable or disable --> <!-- LDAP path is required to log-on to domain. For more information see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/ldap_adspath.asp --> <ldap>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> <uid>james_tardwell</uid> <uid>john_smith</uid> <uid>paul_jones</uid> </administrators> </cache-security>
enabled tells users if security is enabled or not (true/false).
ldap specifies LDAP path for active directory server provider. It is the domain controller. NCache uses Microsoft Active Directory Service for authentication of user. User should exist under given domain in LDAP. For more information, see Microsoft Active Directory Service.
ncache-administrators keeps list of users having rights on all node-based and API-based operations.
port the port where the domain controller listens.