API key security settings provide essential protection mechanisms for your API access. By configuring these security measures, you can:
Control Access: Restrict API usage to specific IP addresses, preventing unauthorized access from unknown locations
Manage CORS: Whitelist specific domains to enable secure cross-origin requests from your applications
Secure UserOperations: Limit which addresses can perform sensitive operations like sending transactions and estimating gas
Implementing these security settings helps prevent unauthorized usage, protect against potential attacks, and ensure your API keys are only used as intended.
IP whitelisting is a crucial security measure that restricts API access to specific IP addresses. This ensures that only requests from trusted locations can use your API key.
Specify the IP address you want to whitelist. This can be your server’s IP, office IP, or any other trusted location. After adding, only requests from these IPs will be allowed.
Domain whitelisting enables cross-origin resource sharing (CORS) for specific domains, allowing your web applications to interact with the API securely.
Add the domain of your web application (e.g., https://etherspot.io). Only requests from whitelisted domains will be allowed to interact with the API.Note: It has to be exaclty the same (with the https://)
Access the address whitelisting section to manage which blockchain addresses can perform specific operations.This whitelisting applies to the following RPC methods:
Specify the blockchain address you want to whitelist. Only transactions and operations from these addresses will be processed, providing granular control over who can use specific RPC methods.