Slide 1

Slide 1 text

Emmanuel Paraskakis @manp A Design-First Approach for Delivering Better API Security

Slide 2

Slide 2 text

apiary + 441,401 APIs 3M+ API Consumers 346,105 API Designers

Slide 3

Slide 3 text

Infosec Goals 1. Confidentiality 2. Integrity 3. Availability

Slide 4

Slide 4 text

What’s Different About APIs? Attack Surface is Huge!

Slide 5

Slide 5 text

Defense In-Depth • Enforce CIA at every layer in your stack • Assume there will be a failure in each

Slide 6

Slide 6 text

What does Design-First Mean? • Think about Security upfront • Don’t bolt it on at the end • Buying Silver Bullets won’t save you

Slide 7

Slide 7 text

Design For API Security • Architecture • Processes • API Interface

Slide 8

Slide 8 text

Design your Architecture

Slide 9

Slide 9 text

Design your Processes

Slide 10

Slide 10 text

Design your API Interface • Authentication Scheme • Leverage the Protocol • Data Structures & Validation

Slide 11

Slide 11 text

openapi: "3.0.1" info: title: Online Store API version: 1.0 … servers: - url: https://staging.example.com/ description: Staging environment … security: - api_key: [] … x-ibm-configuration: enforced: true cors: enabled: true … paths: /customers/{id}/orders: get: … content: application/json: schema: $ref: "#/components/schemas/Orders" … components: schemas: Orders: … metadata deployment runtime interface schema

Slide 12

Slide 12 text

Learn More: • OWASP API Security Project • Dredd • Apiary • Oracle API Platform • Oracle+Dyn (Zenedge)