Traccar API Security Mechanism

Nikhil7 years ago

Hi,
I have been using your product for quite some time now. I am currently working on a project where Traccar will be involved. Right now the server exposes number of API rest end points like http://demo.traccar.org/api/devices or http://demo.traccar.org/api/geofences or http://demo.traccar.org/api/events.
I would be using the traccar server for a highly secured application and wanted a way in which we can secure the API end points with some token or a key so that when the application makes the request to the server it will respond as it will carry the token along with it but when the request is made outside the application without the token to the API the server should throw an error instead.

Is this possible? Kindly let me know

Nikhil7 years ago

If this will involve customizing the traccar server also let me know as I am ready for that scenario but let me know which files exactly to look for in the source code.

Anton Tananaev7 years ago

All those API calls are already secured with basic authentication.