What type of security can I use on my Endpoints?

Options

Hello everyone, maybe this is a very extensive question and it can have several points of view, but I would like to limit the question to:

How can I have a security "filter", so that somehow the origin of the request can be recognized and depending on this it can take X or Y variables. This in order that if a user would like to send requests from postman or another origin different from my webapp it would be something "restricted".

Is this possible? and if so, how should it be done? maybe with headers?
Or maybe there is some other type of option to perform these validations?

Tagged:

Comments