Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
Security should never be an afterthought, especially when dealing with network resources; and REST APIs are no exception. It involves more than just protecting information: it's a comprehensive approach that also involves managing clients and protecting the stability of an API service.
The use of API keys and secrets is a very common pattern that grants user/password-type authentication capabilities to registered clients. In these lessons, you will learn how API keys and secrets are generated and sent to RESTful API services to gain access, as well as the accompanying 400-series HTTP status codes that result when keys and secrets are not recognized.
The OAuth protocol has become the standard mechanism for API client authorization, and you will learn the basics of OAuth and how basic authentication requests can result in bearer access tokens that can be applied to many levels of scopes. You will also learn the importance of rate limiting and why it is essential for REST APIs to track and restrict inbound traffic. Rate limiting is necessary to remain within capacity limits and also to deflect DDoS attacks, which seek to disable services by sending massive amounts of traffic.
It covers security for REST APIs, including how API keys and secrets are generated and sent to gain access, the basics of OAuth authorization and bearer access tokens, and the importance of rate limiting to control traffic and deflect DDoS attacks.
You will be able to identify the common security mechanisms used for REST APIs, use keys and secrets to access protected APIs, and issue OAuth authorization requests for scoped access to APIs.
The course includes three lessons: API Keys and Access Management; Using OAuth for Authentication; and Using Rate Limiting to Control Traffic.
It develops skills in API Design, API Management, API Testing, Application Programming Interface (API), REST API Development, and RESTful API.
Rate limiting is necessary to remain within capacity limits and to deflect DDoS attacks, which seek to disable services by sending massive amounts of traffic.