Go to Live
Token Management
- Secure Token Storage : Ensure that all sensitive tokens (e.g., id tokens, access tokens, refresh tokens, API keys) are stored securely. Use environment variables or secure vaults for server-side storage.
- Token Renewal : Implement automatic token renewal mechanisms to prevent user sessions from expiring unexpectedly. This often involves using refresh tokens to obtain new access tokens before they expire.
Avoid Using Public RPCs in Production
- Private Nodes : For production deployments, use your own XRPL nodes or trusted infrastructure providers instead of public RPC endpoints. This ensures better performance, reliability, and security.
- Load Balancing : If using multiple nodes, implement load balancing to distribute the traffic evenly and provide redundancy.
Security Best Practices
- Secure Communications : Always use HTTPS to encrypt data in transit between clients and servers.
- Sanitize Inputs : Protect against injection attacks by sanitizing all user inputs and using parameterized queries.
- Access Controls : Implement robust access control mechanisms to ensure that only authorized users can access certain functionalities and data.