Available reusable code
We haven't discussed each and every security threat, but we used some things which needed to be taken care of to avoid security-related problems. We have discussed how we should secure our endpoints and how to implement authentication for RESTful web services. We also discussed flaws in our current code that we wrote in the previous chapter.
However, we haven't written code to make our code better and more secure. We can do this, but we should understand that there is already a lot of stuff to utilize instead of doing everything from scratch. So instead of writing everything in plain PHP by ourselves, we will use available code. It is not only to save time but also to use something that is available in the community ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access