How to ensure api's rest security

1

I am creating a system using the MEAN Stack and I had a question ..

My angled client application makes a request for api ex: POST link

If some malicious user finds the api url he could do a post without going through the client of my application for example, is there any way to avoid / bypass this? How to make requests for my api made only from the client that I allow?

    
asked by anonymous 08.11.2016 / 02:29

1 answer

1

Take a look at how the OAuth2 authentication standard works , it's the most commonly used solution to securely access your resources.

    
08.11.2016 / 04:45