Here is my requirements:
- Usable by any mobile application I'm developing
I'm developing the mobile application, therefore I can implement any securing strategies.
- Cacheable using classical HTTP Cache strategy
I'm using Varnish with a very basic configuration and it works well
- Not publicly available
I don't want people be able to consume my API
Solutions I think of:
- Use HTTPS, but it doesn't cover the last requirements because proxying request from the application will show the API KEY used.
Is there any possibility to do this? Using something like a private/public key for example?
Which fits well with HTTP, Apache, and Varnish.