• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Security Config (security.ncconf)

The security.ncconf file is the main configuration file that handles NCache node level security, which includes the management of admin access to the cache using LDAP authentication. All server nodes make use of the Alachisoft.NCache.Security.dll to implement security for restricted access. The security configuration file allows the admin to employ distributed directory services to authorize individuals for the management of NCache.

Note

You will find security.ncconf at %NCHOME%\config in Windows or /opt/ncache/config in Linux.

Security Configuration File Syntax and Structure

The security configuration file is explained below.

<cache-security enabled="True">
    <ldap host="yourprimarydomain" port="389"/>
    <ldap-secondary host="yoursecondarydomain" port="389"/>
    <administrators>
        <group id="Engineers" dn="CN=Engineers,OU=Alachisoft,DC=example,DC=org,DC=pk"/>
    </administrators>
</cache-security>

Security Tag Definitions and Parameters

The following section explains the tags mentioned as part of the file syntax.

<cache-security>

This tag specifies whether, the cache security is enabled.

<cache-security enabled="True">
  • enabled: Determines if security is enabled or not (True/False). The default value is False.

<ldap>

This tag keeps information about the primary domain controller for your applications.

<ldap host="yourprimarydomain" port="389"/> 
  • 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>

This tag specifies the information about the secondary domain controller for your application.

<ldap-secondary host="yoursecondarydomain" port="389"/>
  • 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>

This tag keeps a list of users having rights on all node-based and API-based operations.

<administrators>
    <group id="Engineers" dn="CN=Engineers,OU=Alachisoft,DC=Alachisoft,DC=org,DC=pk"/>
</administrators>

<group>

This sub tag identifies the groups and their organizational and domain level details.

<group id="Engineers" dn="CN=Engineers,OU=Alachisoft,DC=Alachisoft,DC=org,DC=pk"/>
  • id: Specifies the Users or Groups on which we want to configure the settings.

  • dn: Specifies the base DN (Distinguished Name) for searching LDAP entries and narrowing the search scope within the LDAP directory.

    • CN: Specifies the name of the Users or Groups.

    • OU: Specifies the organizational unit of the Users or Groups mentioned above.

    • DC: Specifies the Domain Controllers for the above Users or Groups.

See Also

Cache Config
Client-side Configurations
Bridge Config
Client-side Configurations

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top