Security Management Overview
Security Management Overview
TimechoDB provides security management features for accounts, permissions, connections, communication, auditing, and residual information protection. Select and combine these features according to your actual use case.
Some security features are available only in TimechoDB. Before configuring a feature, review its documentation for applicable versions and licensing requirements.

1. Feature Guide
| Feature | Primary purpose | More information |
|---|---|---|
| Authority Management | Manage users, roles, global privileges, and data access privileges | Before V2.0.7; From V2.0.7 |
| User Resource Quotas | Limit CPU, memory, temporary disk space, and disk I/O resources for each user's queries and writes, with minimum guarantees or upper limits (available from V2.0.12.1) | User Resource Quotas |
| Separation of Powers | Assign system management, security management, and audit management privileges to independent administrators | Separation of Powers |
| Account Security | Configure password policies, login failure lockout, connection quotas, and inactive connection removal | Account Security |
| Allowlist / Blocklist | Allow or deny connections according to client IP addresses | Allowlist / Blocklist |
| Communication Encryption | Use TLS or GM TLCP to protect data transmitted between clients and nodes | Communication Encryption |
| Security Audit | Record and query security events such as database operations, authorization results, and slow operations | Security Audit |
| Residual Information Protection | Erase specified resources before supported file deletion, truncation, and memory release operations to reduce the risk of exposing residual sensitive information (available from V2.0.12.1) | Residual Information Protection |
2. Choosing Features by Scenario
2.1 Control User Operation Privileges
Use Authority Management to create users and roles, then grant the privileges required for business operations. If different people need to manage system operations, user authorization, and security auditing separately, enable Separation of Powers.
2.2 Strengthen Login and Connection Security
Use Account Security to configure password requirements, password validity, login failure lockout, per-user connection limits, and idle session timeouts. Use Allowlist / Blocklist to restrict the client addresses allowed to access the database.
2.3 Protect Data in Transit
Use Communication Encryption to protect data transmitted between clients and servers, and between cluster nodes. To use TLCP 1.1, the server and relevant Java clients must use a TLCP-enabled Kona JDK and be configured with compliant SM2 dual certificates.
2.4 Trace Security Events
Use Security Audit to record database operations, logins and logouts, authorization results, and slow operations. After Separation of Powers is enabled, audit rules and audit logs are managed by the audit administrator.
2.5 Protect Residual Information After Resource Release
Use Residual Information Protection to erase specified resources before supported file deletion, truncation, and memory release operations, reducing the risk of recovering residual information after resources are reallocated.
2.6 Control User Resource Usage
When multiple tenants or business workloads share a cluster, use User Resource Quotas to limit each user's query and write resources, reducing the impact of excessive resource consumption by one user on other workloads.
3. Notes
- Separation of Powers cannot be disabled after it is enabled, and the original root user can no longer log in immediately.
- After communication encryption is enabled, clients must also enable communication encryption and configure a protocol and TrustStore compatible with the server; otherwise, they cannot connect to the corresponding port.
- Residual information protection is not supported on Windows.