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

Security Settings

This page outlines how to configure credential caching, key encryption, and secure credential handling in NCache.

Enable Credential Caching

NCache offers Credential Caching where the authenticated user's credentials are stored in the cache to avoid repeated authentications during life of the process. This feature is disabled by default. To enable it, update the NCacheServer.EabaleCredentialCaching tag to true:

<add key="NCacheServer.EnableCredentialCaching" value="false"/>

Key Encryption Key

The Key Encryption Key (KEK) is used to encrypt the Data Encryption Key (DEK), which secures the actual cache data. It must be specified as a 32-byte hexadecimal string and configured consistently across all cache servers and remote clients in a distributed environment. To add or change KEK, update the NCache Service configuration file using the following key-value pair:

<add key="NCacheServer.KeyEncryptionKey" value="[Valid AES 256 KEY]"/>

Credentials Encryption Key

The Credentials Encryption Key (CEK) is used to encrypt user credentials stored in the NCache client configuration file. It helps secure sensitive information against unauthorized access. CEK must be a 32-byte hexadecimal string, and should be configured identically across all cache servers. To add or change CEK, update the NCache Service configuration file using the following key-value pair:

<add key="NCacheServer.CredentialsEncryptionKey" value="[Valid AES 256 KEY]"/>

See Also

Configure Security
Configure Encryption for Cache

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • 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