I am developing a REST API with Java using Jersey
and what is the best way of securing it? I looked at various things from password based authentication, Servlet Context
, and I heard about tokenization and so on. But what is the industry standard way to secure it and make sure nobody can get data from a GET
request by just typing the URL in browser, simply make a POST
calll from PostMan
and so on? Any learning materials on implementing this best way?
In simple English, what i am asking is, how can I secure my REST API by making sure the API is accesible only to our app?. The method of doing it can be anything from password to token. I am learning it now trying to implement it, but before I need to know what to learn, because I am looking for the best practice and industry standard way of doing so.