Configuring Security for Cache
Security for cache can be configured on following ways:
Using NCache Manager
In NCache Manager, go to Security menu option and select Security Credentials.
Security Credentials dialog will open.
Provide the valid credentials for your active directory like name of Domain Controller, Port (optional), User Name and Password.
Verify the credentials using Verify Credentials button. It will prompt success or failure message in case of success or failed verification of credentials successfully.
Click OK if credentials are successfully verified.
Click the cache name for which you want to configure the security. Cache settings open in the right pane inside the NCache Manager.
Go to the Security tab in cache settings.
Expand the domain users under the Available Domain Users section.
Add required users to Selected Users section using ‘>’ button. These users will have access for cache operations.
Check Enable Security check box.
Important
You can disable management security by unchecking the Enable Security check box at any time.
- Right click on the cache name in Cache Explorer and select Apply Configuration option.
Using Command Line Tool
Open Command Prompt and go to the NCache tools directory:
cd [InstallDir]/bin/tools
Using configurecachesecurity.exe, provide the following information:
configurecachesecurity demoClusteredCache /E /s 20.200.21.95 /U james_tredwell /P yourpassword /C yourdomain.org
This will enable security for demoClusteredCache on server 20.200.21.95 and add the user james_tredwell.
If you want to add more users, use the following command after step 2:
configurecachesecurity demoClusteredCache /A /N aaron_finch /s 20.200.21.95 /U administrator /P yourpassword /C yourdomain.org
- This will add the user aaron_finch to the secured users list of demoClusteredCache.