I am very new to web api security. I used the form authentication method. when a user logs in, a token is created and saved as a cookie in a userβs web browser. For each request, the token is changed and if the user is authenticated and an authorized user gets access to the service.
but I think this approach does nothing in the security of the web api. Cookies can be easily copied and pasted into another browser, and everyone can get the service.
I am thinking of using an application key and secret, as well as form authentication. I do not suggest using a third-party service like Oauth for authentication. I'm not sure about the implementation of the application key, and the secret is that it definitely works.
Please provide the best way to protect my web avia from using third-party services and prevent the capture of cookies, etc. What steps are taken to create a reliable api web application.
vivek Oct 15 '13 at 7:07 2013-10-15 07:07
source share