When it comes to the subject of security, a lot of developers get confused about what kind of information should be protected and when it should be protected. Like almost everything in computer science, the answer is, it depends.
This trade-off is a crucial decision when you're developing APIs that could define either the success or failure of your API.
This chapter will show you some techniques that might help you with API security. Of course, if you want to learn even more about security, take a look at the Further reading section.