Configuring Security
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. security.ncconf file helps enabling NCache security as
well as to manage Node and API level security. You will find security.ncconf
file at [InstallDir]/config
.
security.ncconf file is as shown 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 LDAP ADsPath<ncache-administrators>
keeps list of users having rights on all node-based and API-based operations.
In This Section
Configuring Security for Cache Management
Explains how to configure security for cache managerial tasks.
Configuring Security for Cache
Explains how to configure the security for cache.
Configuring Encryption for Cache
Describes how to enable and configure encryption for cache.
Configuring SSl/TLS Communication for Cache
Describes how to enable and configure SSL encryption for cache.