Securing Your Frameworks and Languages
In this chapter, we will discuss the core activity involved in converting an API design or specification into working code. This is where the rubber meets the road for API security—while having a well-designed API with security considered is essential, the running API will only be as secure as the implementation allows. As an API developer, it is essential that you understand the best practices for coding your API securely and using your frameworks and libraries in a secure manner.
Firstly, we will focus on the challenges of managing a design-first process, where you will learn how to manage the lifecycle of both your API specification and the underlying code implementing the API. Generating API code from the API specification automatically is a tenet of a secure design-first process, and you will learn how to use modern code-generation tools. Finally, we will examine best practices in your frameworks to ensure secure API implementations...