13
© 2016 ForgeRock. All rights reserved. Best Practices for API Security Ludovic Poitou, Product Management Director

NYC Identity Summit Tech Day: Best Practices for API Security

Embed Size (px)

Citation preview

Page 1: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

Best Practices for API Security

Ludovic Poitou, Product Management Director

Page 2: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

API Security

?

Page 3: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

API Security

Page 4: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

Example:

ForgeRockIdentity Gateway

APIs

ForgeRockAccess Management

Throttling

Authorization

Page 5: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

API Key• Use OAuth2 Tokens• Issued & managed centrally• Standard based• Access tokens are short-lived

and revocable• Scopes for finer permissions

Page 6: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

Protecting against Disclosure• Secure End to End

• Between Client and Gateway• Between Gateway and API

• TLS• Certificate based

Authentication

Page 7: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

Protect Against Misuse and DOS• Throttle the incoming traffic

• Overall• Per API• Per Client

• Also a monetization strategy!

https://www.flickr.com/photos/telstar/

Page 8: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

Policy Decision and Enforcement Point

• Centralized policy management

• Introspect Token• Call ForgeRock Access

Management PDP• Border enforcement

• Specific rules and conditions• Not Found vs Forbidden

https://www.flickr.com/photos/yannickgar/

Page 9: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

Monitoring and Auditing• Monitoring

• Status• Throughput and Response

Times statistics• Auditing

• Logs• Reporting• Billing

Page 10: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

Summary

Page 11: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

Throttling

Message Transformation Monitoring

Session Management Token Exchange

SSO

Scripting

Relying Party Authentication Authorization Federation (SAML /

OIDC)

Password Capture & Replay

Protected Resources

Identity Providers Data Stores

Web Applications

APIs

Services Layer

Access Layer HTTP / HTTPS OAuth2.0 | OpenID Connect | SAMLv2

External LayerDatabases

Directories

Files

Audit

ForgeRock Identity Platform: Identity Gateway

Page 12: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved. 12

Page 13: NYC Identity Summit Tech Day: Best Practices for API Security

© 2016 ForgeRock. All rights reserved.

Best Practices for API Security

Ludovic Poitou – Product Management [email protected]

@ludomp