web services - Signing requests with API secret in an iOS application -
i have webservice, , ios client(application) 1 of projects.
my webservice exposes several rest endpoints. looking way make sure webservice processes requests come ios application only.
i understand impossible 100% sure requests coming ios application.
but there best practices can use make sure requests coming ios only.
here few things trying .
- bundle api secret ios application (known ios , server)
- sign requests secret , timestamps
- recycle api secret every (or alternate) application release cycles.
i new of this, help/advice/constructive-criticism super helpful
best option: bundle api secret ios application (known ios , server).
you can send in custom http header , it's best if send encrypted well.
Comments
Post a Comment