Security

When working with the Chargetrip API, headers are visible to anyone who inspects the network traffic. Therefore, it is recommended to add a layer of restrictions to enhance security and prevent unauthorized use of your applications.

Note

Only one restriction can be applied per application. To configure different restrictions, create multiple applications.

Web

Use HTTP referrers to restrict URLs that can use the x-app-id header. This method is useful for securing web applications. Multiple URLs can be added to a single application as needed.

Machine-to-machine

Protect authorization keys during machine-to-machine communication by using IP addresses. Configure both IPv4 and IPv6 addresses within the application on the dashboard.

Android

Restrict the use of an application ID on Android by sending an identifier and fingerprint with every request by using the x-app-identifier and x-app-fingerprint headers.

iOS

Restrict the use of an application ID on iOS by sending the bundle identifier with every request by using the x-app-identifier header. This method uses an iOS bundle identifier to ensure that only authorized applications can make requests.