Confronting API Security in the Brave New Open Banking Era

27
© 2015 Akana. All Rights Reserved. Confronting API Security in the Brave New Open Banking Era Sachin Agarwal

Transcript of Confronting API Security in the Brave New Open Banking Era

Page 1: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Confronting API Security in the Brave New Open Banking Era

Sachin Agarwal

Page 2: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Digital Disruption in Banking

Mobile Cloud Customer Centric

Block Chain Payments FinTech

Page 3: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

However Risks Exists

Page 4: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Page 5: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

How do banks Open up to the Digital Economy

While managing Risk?

Page 6: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

EVOLUTION OF DIGITAL CHANNELS

Page 7: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Client-Server/ Web Applications

• No Programmatic Access

• Security through network isolation

• Limited Users

Access locations and variability of operations were limited

Page 8: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Web ServicesThe enterprise opened slightly with Web Services/SOAP

• SSL/TLS, Certificate based, PKI, WS-Trust

• Some B2B and Partners applications

• Complex, but quite secure and flexible

Page 9: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

And then came APIsDisrupting how and where information is accessed

• Mobile and Social Apps don’t’ understand PKI, WS-Security, etc.

• Focus on human readability, developer adoption

Page 10: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Realizing End-to-End Security

Managing the User Experience

Securing the App - PII, PHI

Enabling Easy Developer Access

Securing the Channel

Securing the Backend

Page 11: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Understanding the Security Landscape

• Protocol specific threats

• Key Management• OAuth• Monitoring• Licensing• Security Token

Mediation

API Specific Security

Single Sign On MDM

ATP, Firewall, VPN etc.

Page 12: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Major API Security Concerns

Page 13: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

API Consumer Security?

Page 14: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Securing APIs

1 Authentication & Authorization

2 App Key Validation/Licensing

3 Message Security

4 Threat Protection

5 Content Filtering

6 Rate Limiting

Developers

Page 15: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Authentication/Authorization/SSOControl and restrict access to your APIsMake it easy yet secure

Page 16: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Understanding OAuthOAuth lets a person delegate constrained access from one app to another

User

Resource Owner

Client App

Resource Server

Page 17: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

OAuth Flow

Page 18: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

OAuth – You need

• OAuth Clients• Provisioning• Approval Flow

• OAuth Server• Identity Integration• Token Validation• Token Issue/refresh

• Token Mediation (SAML, LDAP etc)• QoS, Monitoring• Policy Management• API Proxying• Reporting• Analytics

OAuth is hard and complicated

Page 19: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

LicensingPackage your APIs in different waysUse API keys to restrict what the App can access

The licenses control:– OAuth Authorization Scopes– Document visibility– Quota policies

Page 20: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Message and Parameter Security

HTTP Parameter• http://apis.foo.com/resources/sample/foo?app_id=myid&app_key=

mykey• Protect API Keys with HMAC – Hash-based Message Authentication Code

Message Security• Implement HTTPS• For XML payloads encrypt specific parts of the message

Page 21: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Threat Protection• Denial of Service• Injection Attacks

– Detect and prevent SQL, JavaScript or XPath/XQuery injection attacks

• Cross Site Scripting• Network address and range

blacklists/whitelists • HTTP Parameter Stuffing

Page 22: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Content Filtering• Provide a content firewall,

protecting against malicious content

• Validate message content including message headers, form and query parameters, XML and JSON data structures.

• Policies for XML and JSON DoS

• Protection against viruses in attachments and other binary content via ICAP integration with leading anti-virus engines

Page 23: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Quota Management/Rate LimitingRestrict the number of calls an App can makeApply controls based on context, affinity, segmentation etc.

Page 24: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Relevance to PCI Compliance• APIs are now part of e-commerce

• Card payments pass through API

• The infrastructure underlying the API?

Page 25: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

Akana API GatewayGateway

SecurityAuthenticationProtectionIAM IntegrationEncryptionMediationQuality of ServicePaging/CachingOrchestrationScripting

Page 26: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

The Akana Digital Business Platform

Page 27: Confronting API Security in the Brave New Open Banking Era

© 2015 Akana. All Rights Reserved.

API Resources and API University• Resource Center

– http://resource.akana.com/• Follow us on:

www.facebook.com/soasoftware

www.linkedin.com/company/14301

@akanainc