Welcome Guest, Not a member yet? Register   Sign In
Secure my API connection with other websites
#2

How would you validate that the API request is coming from a particular domain? Request headers can be modified as can query parameters. It seems like additional complexity that isn't necessary, though that is without knowing why you want to do so.


Let's say you figure that out, all you would need to do is override the _detect_api_key() function and add your additional code, so usually creating a class that extends the REST_Controller.
Reply


Messages In This Thread
RE: Secure my API connection with other websites - by xenomorph1030 - 05-02-2017, 06:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB