CodeIgniter Forums

Full Version: Make safety api
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello
I am programming app for shop that use api (restful)
I afraid of hacker that get this api key and attach my webservice
How do i protect it?
Don't use ordinary encryption or un-safe character at-least use Json Web Tokens https://jwt.io/
there's a lot library for PHP.
Whitelist the shop IP?
That could be what the ip_addresses was in the forum topic that you mentioned to me in the table.
Finally i decide to use oAuth2 in codeigniter
I dont know it is good way to hard hack for hacker but i understand it now