SlideShare a Scribd company logo
SECURITY BEST
PRACTICE
APICONNECT & GATEWAY
@SHIUFUNPOON
TRADEMARK ACKNOWLEDGEMENTS
• IBM, IBM API Connect, IBM DataPower Gateway are trademarks of International Business
Machines Corporation, registered in many jurisdictions
• Other company, product and service names may be trademarks, registered marks or service
marks of their respective owners. A current list of IBM trademarks is available on the web at
"Copyright and trademark information" ibm.com/legal/copytrade.html
SECURITY
• Availability
• Configurable
• Standard
• Ease of use
• Monitoring
• Resource consumption
• …
SECURITY – THIS IS ALWAYS A BALANCING ACT
• Availability
• Configurable
• Standard
• Ease of use
• Monitoring
• Resource consumption
• …
API SECURITY
API Gateway:
• Decoupling/routing
• Traffic management
• Security
• Translation
Developer portal:
• API discovery
• Self subscription/administration
• Account usage analytics
• Monetization
• Security
API Manager:
• Plan/product design
• Policy administration
• API plan usage analytics
• API Governance
• Security
https://www.ibm.com/docs/en/api-connect/2018.x?topic=installing-
maintaining-your-api-connect-cloud
MANAGEMENT SERVER
APIC UNDER THE HOOK
• Internal services communicating vs mTLS
• Quorum, with 3 being the magic number
• APIc is the match maker, it introduces each subsystem to each others
• APIM, Portal, Analytics, Gateway
• How does APIM <-> Portal
• How does APIM <-> Analytics
• How does APIM <-> Gateway
• How does Portal <-> Analytics
• How does Gateway <-> Analytics
• Configurable, extensible
https://www.ibm.com/downloads/cas/NQBJRBDO
Ç√
API MANAGER
• API are published
• Publish in openapi v2 format
• apim vs consumer
• WebGUI/toolkits/portal/BYO
• RateLimit
Drinking Our Own Champagne
Get an access_token
access_token must contain the right scope
Permission is checked
Is token valid
Token contains necessary scope ?
Does User has the proper permission ?
HARDENED PORTAL SECURITY
Supports OpenID Connect for
accelerated developer on-boarding and
social login
Enable PSD2/ Open Banking
compliance to programmatically onboard
consumers using REST Management APIs
and OpenID Connect
Enhanced spam protection against
spam bots with CAPTCHA and honeypot
Detect and prevent malicious attacks
with perimeter and DNS check
Detect and prevent flood attacks
CONFIGURE PORTAL BEHAVIOR
APIMANAGER WITH GATEWAY
• Gateway must be 24 * 7 (without API manager)
• API gateway introduce a gateway director manager
• Using clustering technology to track configuration from APIM
• Heartbeat from APIm to make sure Gateway will have the latest information
• 911 protocol to handle catastrophic failure
• Provides the status of how where the configuration with regard to the update from the APIm
• Gateway director allows auto scaling of the additional gateway
• Configuration/Key Materials
• State of the processing
• Istio Integration for improved performance & security by
passing API header and tokens into Istio
• Open API V3 support to meet security industry standards (i.e.
PSD2) & improve reuse
• OpenBanking & PSD2 Compliant including flexible JWT and
OAuth features
• 5X Improved Performance with cloud-native API-centric
Gateway Service
• Fast Time to Value through Out of the Box policies for API
Gateway Service
• Enterprise Specific Security Support through OAuth flow
customization
• Expanded Security with OIDC, CAPTCHA, Perimeter, DNS
check on Portal, etc.
Performant and Secure
SECURE & MANAGE GRAPHQL ENDPOINTS
Next-Gen evolution of Gateway technology
beyond Web services and REST with GraphQL
support
Secure and Manage APIs with GraphQL
backends, efficiently managing compute intensive
services
Threat Protection against cyberattacks using
advance query complexity analysis to prevent API-
based attacks
Rate Limit GraphQL queries with consumer plans
based on number of API calls & backend compute
time
https://www.ibm.com/blogs/research/2019/02/graphql-api-management/
https://developer.github.com/v4/guides/resource-limitations/
1. Access Control
• Who can access the data and what data
• APIc
• Client credential (application)
• User credential (who)
2. Load Control
• How much effort for the server to fulfill the request
• Complexity
• Type (object type)
• Resolve
GraphQL Endpoints security breakdown
Up to 5X+ increased performance with natively built
API Gateway using purpose-built technology for native
OpenAPI/Swagger REST and SOAP APIs
Multi-cloud scalability and extensibility to help
meet SLAs and improve client user experience
Optimized drag & drop built-in policies for security,
traffic control and mediation including flexible OAuth,
enhanced JSON & XML threat protection
Secure to the core with self-contained signed &
encrypted image to minimize risk, plus proven security
policies to quickly protect APIs
Before: DP Multi protocol
Gateway Service
API call Backend
New: Native API
Gateway Service
API call Backend
CLOUD-NATIVE API GATEWAY SERVICE IN DATAPOWER
API GW service
POLICIES FOR ENFORCEMENT ON API GATEWAY SERVICE
Gateway Script and XSLT policy support
provides flexible message mediation & dynamic
security enforcement
Dynamic Routing support through Conditional
Policy
Enforce strong security through Parse, JSON
and XML Schema Validation policy
OpenID Connect support to enable banks to
meet PSD2 / Open Banking regulations
OAuth Token revocation to enable self-service
token management
Foundational Security Mediation
Invoke API Key Map
Activity Log JWT Validate JSON-XML
Rate Limit JWT Generate Gateway Script
Throw OAuth Policy XSLT
Set Variable Parse
(Threat Detection)
Conditional Validate
User Security
OpenID Connect
Built-in policies
Rapid OAuth policy creation to quickly
create OAuth provider security without deep
security expertise
Improved governance capabilities on
managing OAuth providers with flexible
administrative access control to enforce
enterprise standards
Ability to meet business demands with
customizable OAuth assembly
New User Security policy to enforce
authentication & authorization in API
assembly, adapting to unique enterprise
security needs
MEETING SECURITY NEEDS THROUGH NEW FLEXIBLE OAUTH
PROVIDER
FEATURE LIST OF OAUTH IN APIC V5, V2018+V5GW,
V2018+APIGW
Features V4 V5 v2018 +V5 CompatGW v2018 + APIGW
Basic OAuth Support ✅ ✅ ✅ ✅
Distinct Client ids and Secrets ⤫ ✅ ✅ ✅
Separate API ⤫ ✅ ✅ ✅
Access Control ⤫ ⤫ ✅ ✅
Seamless packaging within product ✅ ⤫ ✅ ✅
Tight coupling with Provider ⤫ ⤫ ✅* ✅
Metadata,Token introspection, Revocation/Token
Management,Advanced scope handling
⤫ ✅ ✅ ✅
Customize OAuth Assembly ⤫ ⤫ ⤫ ✅
Dynamic configuration updates ⤫ ⤫ ** ⤫ ** ✅
Context variable driven ⤫ ⤫ ⤫ ✅
Independent Resource Owner Security ⤫ ⤫ ⤫ ✅
Out of the box OIDC support ⤫ ⤫ *** ⤫ *** ✅
Out of the box JWT Authorization Grant ⤫ ⤫ ** ⤫ ** ✅
* Tight coupling is only at the APIManager API level, not in the backendV5 Gateway
** Can be done with gateway extension
*** Supported by a set of rule in the assembly
Rapid OAuth policy creation to quickly create OAuth
provider security without deep security expertise
Improved governance capabilities on managing
OAuth providers with flexible administrative access
control to enforce enterprise standards
Ability to meet business demands with
customizable OAuth assembly
New User Security policy to enforce authentication &
authorization in API assembly, adapting to unique
enterprise security needs
MEETING SECURITY NEEDS THROUGH NEW FLEXIBLE
OAUTH PROVIDER
Out of the box JWT Grant Type Support
Out of the box OIDC Support
CUSTOMIZABLE
EASE OF USE
• Crypto material on per OAuth native provider (vs gateway level)
• End user credential gathering (context variable) *
• Consent handling
• Global Policy (and thus inject context variable for processing) *
• Token handling (allow listing vs stateless)
• Flexibility
• ….
WHAT SHOULD I DO
• Monitoring IBM PSIRT for IBM APIC, IBM DataPower
• https://www.ibm.com/security/secure-engineering/process.html
• Timely upgrade/migration to a new version of firmware
• Balance your security needs vs platform offered (hardware vs ova vs docker vs ..)
• How about cloud ? ICP ?
• APIC Connect White Paper: https://www.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=03023503USEN&
(
• Security vs ease of use vs compatibility
• Performance/usage spike
• HA (rule of 3)
• Stateless (especially across Availability Zone)
GATEWAY SPECIFIC
• Is WebGUI needed for production
• Automate deployment (which APIc solves)
• Monitoring gateway (DataPower Operations Dashboard)
• Backup administrator
• ACL
• mTLS with your backend services
• Message validation
• Payload redact
• SLM
• AllowList vs BlockList
FROM YOU, OUR AUDIENCES
• Your feedbacks ?
• What would you like to see ?
• What can you share with each others on your experience ? Good or Bad

More Related Content

What's hot

DataPower API Gateway Performance Benchmarks
DataPower API Gateway Performance BenchmarksDataPower API Gateway Performance Benchmarks
DataPower API Gateway Performance Benchmarks
IBM DataPower Gateway
 
IBM DataPower Gateways - What's new in 2016 v7.5.2
IBM DataPower Gateways - What's new in 2016 v7.5.2IBM DataPower Gateways - What's new in 2016 v7.5.2
IBM DataPower Gateways - What's new in 2016 v7.5.2
IBM DataPower Gateway
 
IBM API Connect - overview
IBM API Connect - overviewIBM API Connect - overview
IBM API Connect - overview
Ramy Bassem
 
IBM DataPower Gateway - Common Use Cases
IBM DataPower Gateway - Common Use CasesIBM DataPower Gateway - Common Use Cases
IBM DataPower Gateway - Common Use Cases
IBM DataPower Gateway
 
Gateway/APIC security
Gateway/APIC securityGateway/APIC security
Gateway/APIC security
Shiu-Fun Poon
 
APISecurity_OWASP_MitigationGuide
APISecurity_OWASP_MitigationGuide APISecurity_OWASP_MitigationGuide
APISecurity_OWASP_MitigationGuide
Isabelle Mauny
 
API and Microservices Management
API and Microservices ManagementAPI and Microservices Management
API and Microservices Management
IBM DataPower Gateway
 
IBM API Connect Deployment `Good Practices - IBM Think 2018
IBM API Connect Deployment `Good Practices - IBM Think 2018IBM API Connect Deployment `Good Practices - IBM Think 2018
IBM API Connect Deployment `Good Practices - IBM Think 2018
Chris Phillips
 
Gateway deepdive
Gateway deepdiveGateway deepdive
Gateway deepdive
Shiu-Fun Poon
 
2015/06/12 - IBM Systems & Middleware - IBM DataPower and API Management
2015/06/12 - IBM Systems & Middleware - IBM DataPower and API Management2015/06/12 - IBM Systems & Middleware - IBM DataPower and API Management
2015/06/12 - IBM Systems & Middleware - IBM DataPower and API Management
Rui Santos
 
How to migrate an application in IBM APIc, and preserve its client credential
How to migrate an application in IBM APIc, and preserve its client credentialHow to migrate an application in IBM APIc, and preserve its client credential
How to migrate an application in IBM APIc, and preserve its client credential
Shiu-Fun Poon
 
API Management Part 1 - An Introduction to Azure API Management
API Management Part 1 - An Introduction to Azure API ManagementAPI Management Part 1 - An Introduction to Azure API Management
API Management Part 1 - An Introduction to Azure API Management
BizTalk360
 
How Secure Are Your APIs?
How Secure Are Your APIs?How Secure Are Your APIs?
How Secure Are Your APIs?
Apigee | Google Cloud
 
IBM APIc API security protection mechanism
IBM APIc API security protection mechanismIBM APIc API security protection mechanism
IBM APIc API security protection mechanism
Shiu-Fun Poon
 
API Security Best Practices & Guidelines
API Security Best Practices & GuidelinesAPI Security Best Practices & Guidelines
API Security Best Practices & Guidelines
Prabath Siriwardena
 
Data power use cases
Data power use casesData power use cases
Data power use casessflynn073
 
IBM Datapower Security Scenarios - Using JWT to secure microservices
IBM Datapower Security Scenarios - Using JWT  to secure microservicesIBM Datapower Security Scenarios - Using JWT  to secure microservices
IBM Datapower Security Scenarios - Using JWT to secure microservices
sandipg123
 
API Connect Presentation
API Connect PresentationAPI Connect Presentation
API Connect Presentation
xband
 
Azure API Management
Azure API ManagementAzure API Management
Azure API Management
Daniel Toomey
 
Data power Performance Tuning
Data power Performance TuningData power Performance Tuning
Data power Performance TuningKINGSHUK MAJUMDER
 

What's hot (20)

DataPower API Gateway Performance Benchmarks
DataPower API Gateway Performance BenchmarksDataPower API Gateway Performance Benchmarks
DataPower API Gateway Performance Benchmarks
 
IBM DataPower Gateways - What's new in 2016 v7.5.2
IBM DataPower Gateways - What's new in 2016 v7.5.2IBM DataPower Gateways - What's new in 2016 v7.5.2
IBM DataPower Gateways - What's new in 2016 v7.5.2
 
IBM API Connect - overview
IBM API Connect - overviewIBM API Connect - overview
IBM API Connect - overview
 
IBM DataPower Gateway - Common Use Cases
IBM DataPower Gateway - Common Use CasesIBM DataPower Gateway - Common Use Cases
IBM DataPower Gateway - Common Use Cases
 
Gateway/APIC security
Gateway/APIC securityGateway/APIC security
Gateway/APIC security
 
APISecurity_OWASP_MitigationGuide
APISecurity_OWASP_MitigationGuide APISecurity_OWASP_MitigationGuide
APISecurity_OWASP_MitigationGuide
 
API and Microservices Management
API and Microservices ManagementAPI and Microservices Management
API and Microservices Management
 
IBM API Connect Deployment `Good Practices - IBM Think 2018
IBM API Connect Deployment `Good Practices - IBM Think 2018IBM API Connect Deployment `Good Practices - IBM Think 2018
IBM API Connect Deployment `Good Practices - IBM Think 2018
 
Gateway deepdive
Gateway deepdiveGateway deepdive
Gateway deepdive
 
2015/06/12 - IBM Systems & Middleware - IBM DataPower and API Management
2015/06/12 - IBM Systems & Middleware - IBM DataPower and API Management2015/06/12 - IBM Systems & Middleware - IBM DataPower and API Management
2015/06/12 - IBM Systems & Middleware - IBM DataPower and API Management
 
How to migrate an application in IBM APIc, and preserve its client credential
How to migrate an application in IBM APIc, and preserve its client credentialHow to migrate an application in IBM APIc, and preserve its client credential
How to migrate an application in IBM APIc, and preserve its client credential
 
API Management Part 1 - An Introduction to Azure API Management
API Management Part 1 - An Introduction to Azure API ManagementAPI Management Part 1 - An Introduction to Azure API Management
API Management Part 1 - An Introduction to Azure API Management
 
How Secure Are Your APIs?
How Secure Are Your APIs?How Secure Are Your APIs?
How Secure Are Your APIs?
 
IBM APIc API security protection mechanism
IBM APIc API security protection mechanismIBM APIc API security protection mechanism
IBM APIc API security protection mechanism
 
API Security Best Practices & Guidelines
API Security Best Practices & GuidelinesAPI Security Best Practices & Guidelines
API Security Best Practices & Guidelines
 
Data power use cases
Data power use casesData power use cases
Data power use cases
 
IBM Datapower Security Scenarios - Using JWT to secure microservices
IBM Datapower Security Scenarios - Using JWT  to secure microservicesIBM Datapower Security Scenarios - Using JWT  to secure microservices
IBM Datapower Security Scenarios - Using JWT to secure microservices
 
API Connect Presentation
API Connect PresentationAPI Connect Presentation
API Connect Presentation
 
Azure API Management
Azure API ManagementAzure API Management
Azure API Management
 
Data power Performance Tuning
Data power Performance TuningData power Performance Tuning
Data power Performance Tuning
 

Similar to APIConnect Security Best Practice

[Workshop] API-driven Integration
[Workshop] API-driven Integration[Workshop] API-driven Integration
[Workshop] API-driven Integration
WSO2
 
Application Security in ASP.NET Core
Application Security in ASP.NET CoreApplication Security in ASP.NET Core
Application Security in ASP.NET Core
NETUserGroupBern
 
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
WSO2
 
Whats new in data power
Whats new in data powerWhats new in data power
Whats new in data powersflynn073
 
API Gateway report
API Gateway reportAPI Gateway report
API Gateway report
Gleicon Moraes
 
Api management update for optus
Api management update for optusApi management update for optus
Api management update for optussflynn073
 
The Platform Big Picture
The Platform Big PictureThe Platform Big Picture
The Platform Big Picture
ForgeRock
 
WSO2 Workshop Sydney 2016 - APIs
WSO2 Workshop Sydney 2016 - APIsWSO2 Workshop Sydney 2016 - APIs
WSO2 Workshop Sydney 2016 - APIs
Dassana Wijesekara
 
42Crunch Security Audit for WSO2 API Manager 3.1
42Crunch Security Audit for WSO2 API Manager 3.142Crunch Security Audit for WSO2 API Manager 3.1
42Crunch Security Audit for WSO2 API Manager 3.1
WSO2
 
Managing the Complexity of Microservices Deployments
Managing the Complexity of Microservices DeploymentsManaging the Complexity of Microservices Deployments
Managing the Complexity of Microservices Deployments
Apigee | Google Cloud
 
Apigee Edge Overview and Roadmap
Apigee Edge Overview and RoadmapApigee Edge Overview and Roadmap
Apigee Edge Overview and Roadmap
Apigee | Google Cloud
 
API Management Microservices beyond HIP
API Management Microservices beyond HIPAPI Management Microservices beyond HIP
API Management Microservices beyond HIP
SmartWave
 
WSO2- OSC Korea - Accelerating Digital Businesses with APIs
WSO2- OSC Korea - Accelerating Digital Businesses with APIsWSO2- OSC Korea - Accelerating Digital Businesses with APIs
WSO2- OSC Korea - Accelerating Digital Businesses with APIs
WSO2
 
API Gateways are going through an identity crisis
API Gateways are going through an identity crisisAPI Gateways are going through an identity crisis
API Gateways are going through an identity crisis
Christian Posta
 
Platform for Secure Digital Business
Platform for Secure Digital BusinessPlatform for Secure Digital Business
Platform for Secure Digital Business
Akana
 
API Management within a Microservice Architecture
API Management within a Microservice ArchitectureAPI Management within a Microservice Architecture
API Management within a Microservice Architecture
WSO2
 
API Management Within a Microservices Architecture
API Management Within a Microservices Architecture API Management Within a Microservices Architecture
API Management Within a Microservices Architecture
Nadeesha Gamage
 
Cloud DevSecOps and compliance considerations leveraging AWS Marketplace sellers
Cloud DevSecOps and compliance considerations leveraging AWS Marketplace sellersCloud DevSecOps and compliance considerations leveraging AWS Marketplace sellers
Cloud DevSecOps and compliance considerations leveraging AWS Marketplace sellers
Amazon Web Services
 
Cloud DevSecOps Considerations Leveraging AWS Marketplace Software
Cloud DevSecOps Considerations Leveraging AWS Marketplace SoftwareCloud DevSecOps Considerations Leveraging AWS Marketplace Software
Cloud DevSecOps Considerations Leveraging AWS Marketplace Software
Amazon Web Services
 

Similar to APIConnect Security Best Practice (20)

[Workshop] API-driven Integration
[Workshop] API-driven Integration[Workshop] API-driven Integration
[Workshop] API-driven Integration
 
Application Security in ASP.NET Core
Application Security in ASP.NET CoreApplication Security in ASP.NET Core
Application Security in ASP.NET Core
 
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
 
Whats new in data power
Whats new in data powerWhats new in data power
Whats new in data power
 
API Gateway report
API Gateway reportAPI Gateway report
API Gateway report
 
Api management update for optus
Api management update for optusApi management update for optus
Api management update for optus
 
The Platform Big Picture
The Platform Big PictureThe Platform Big Picture
The Platform Big Picture
 
WSO2 Workshop Sydney 2016 - APIs
WSO2 Workshop Sydney 2016 - APIsWSO2 Workshop Sydney 2016 - APIs
WSO2 Workshop Sydney 2016 - APIs
 
42Crunch Security Audit for WSO2 API Manager 3.1
42Crunch Security Audit for WSO2 API Manager 3.142Crunch Security Audit for WSO2 API Manager 3.1
42Crunch Security Audit for WSO2 API Manager 3.1
 
Managing the Complexity of Microservices Deployments
Managing the Complexity of Microservices DeploymentsManaging the Complexity of Microservices Deployments
Managing the Complexity of Microservices Deployments
 
Day 1 axway apim-training
Day 1   axway apim-trainingDay 1   axway apim-training
Day 1 axway apim-training
 
Apigee Edge Overview and Roadmap
Apigee Edge Overview and RoadmapApigee Edge Overview and Roadmap
Apigee Edge Overview and Roadmap
 
API Management Microservices beyond HIP
API Management Microservices beyond HIPAPI Management Microservices beyond HIP
API Management Microservices beyond HIP
 
WSO2- OSC Korea - Accelerating Digital Businesses with APIs
WSO2- OSC Korea - Accelerating Digital Businesses with APIsWSO2- OSC Korea - Accelerating Digital Businesses with APIs
WSO2- OSC Korea - Accelerating Digital Businesses with APIs
 
API Gateways are going through an identity crisis
API Gateways are going through an identity crisisAPI Gateways are going through an identity crisis
API Gateways are going through an identity crisis
 
Platform for Secure Digital Business
Platform for Secure Digital BusinessPlatform for Secure Digital Business
Platform for Secure Digital Business
 
API Management within a Microservice Architecture
API Management within a Microservice ArchitectureAPI Management within a Microservice Architecture
API Management within a Microservice Architecture
 
API Management Within a Microservices Architecture
API Management Within a Microservices Architecture API Management Within a Microservices Architecture
API Management Within a Microservices Architecture
 
Cloud DevSecOps and compliance considerations leveraging AWS Marketplace sellers
Cloud DevSecOps and compliance considerations leveraging AWS Marketplace sellersCloud DevSecOps and compliance considerations leveraging AWS Marketplace sellers
Cloud DevSecOps and compliance considerations leveraging AWS Marketplace sellers
 
Cloud DevSecOps Considerations Leveraging AWS Marketplace Software
Cloud DevSecOps Considerations Leveraging AWS Marketplace SoftwareCloud DevSecOps Considerations Leveraging AWS Marketplace Software
Cloud DevSecOps Considerations Leveraging AWS Marketplace Software
 

More from Shiu-Fun Poon

GraphQL Security
GraphQL SecurityGraphQL Security
GraphQL Security
Shiu-Fun Poon
 
Cheatsheet to run DP docker
Cheatsheet to run DP dockerCheatsheet to run DP docker
Cheatsheet to run DP docker
Shiu-Fun Poon
 
DataPower as PCI
DataPower as PCIDataPower as PCI
DataPower as PCI
Shiu-Fun Poon
 
How to integration with 3rd Party OAuth Provider with IBM APIc
How to integration with 3rd Party OAuth Provider with IBM APIcHow to integration with 3rd Party OAuth Provider with IBM APIc
How to integration with 3rd Party OAuth Provider with IBM APIc
Shiu-Fun Poon
 
How to integration DataPower with Zos
How to integration DataPower with ZosHow to integration DataPower with Zos
How to integration DataPower with Zos
Shiu-Fun Poon
 
DataPower Security Hardening
DataPower Security HardeningDataPower Security Hardening
DataPower Security Hardening
Shiu-Fun Poon
 
IBM Apic toolkit cheatsheet
IBM Apic toolkit cheatsheetIBM Apic toolkit cheatsheet
IBM Apic toolkit cheatsheet
Shiu-Fun Poon
 
DataPower DoS/DDoS
DataPower DoS/DDoSDataPower DoS/DDoS
DataPower DoS/DDoS
Shiu-Fun Poon
 
Social Login (Nested OAuth/OIDC)
Social Login (Nested OAuth/OIDC)Social Login (Nested OAuth/OIDC)
Social Login (Nested OAuth/OIDC)
Shiu-Fun Poon
 
White vs Black list
White vs Black listWhite vs Black list
White vs Black list
Shiu-Fun Poon
 
Open Banking via APIc 2018
Open Banking via APIc 2018Open Banking via APIc 2018
Open Banking via APIc 2018
Shiu-Fun Poon
 
Token, token... From SAML to OIDC
Token, token... From SAML to OIDCToken, token... From SAML to OIDC
Token, token... From SAML to OIDC
Shiu-Fun Poon
 
OAuth 2.0 with IBM WebSphere DataPower
OAuth 2.0 with IBM WebSphere DataPowerOAuth 2.0 with IBM WebSphere DataPower
OAuth 2.0 with IBM WebSphere DataPower
Shiu-Fun Poon
 

More from Shiu-Fun Poon (13)

GraphQL Security
GraphQL SecurityGraphQL Security
GraphQL Security
 
Cheatsheet to run DP docker
Cheatsheet to run DP dockerCheatsheet to run DP docker
Cheatsheet to run DP docker
 
DataPower as PCI
DataPower as PCIDataPower as PCI
DataPower as PCI
 
How to integration with 3rd Party OAuth Provider with IBM APIc
How to integration with 3rd Party OAuth Provider with IBM APIcHow to integration with 3rd Party OAuth Provider with IBM APIc
How to integration with 3rd Party OAuth Provider with IBM APIc
 
How to integration DataPower with Zos
How to integration DataPower with ZosHow to integration DataPower with Zos
How to integration DataPower with Zos
 
DataPower Security Hardening
DataPower Security HardeningDataPower Security Hardening
DataPower Security Hardening
 
IBM Apic toolkit cheatsheet
IBM Apic toolkit cheatsheetIBM Apic toolkit cheatsheet
IBM Apic toolkit cheatsheet
 
DataPower DoS/DDoS
DataPower DoS/DDoSDataPower DoS/DDoS
DataPower DoS/DDoS
 
Social Login (Nested OAuth/OIDC)
Social Login (Nested OAuth/OIDC)Social Login (Nested OAuth/OIDC)
Social Login (Nested OAuth/OIDC)
 
White vs Black list
White vs Black listWhite vs Black list
White vs Black list
 
Open Banking via APIc 2018
Open Banking via APIc 2018Open Banking via APIc 2018
Open Banking via APIc 2018
 
Token, token... From SAML to OIDC
Token, token... From SAML to OIDCToken, token... From SAML to OIDC
Token, token... From SAML to OIDC
 
OAuth 2.0 with IBM WebSphere DataPower
OAuth 2.0 with IBM WebSphere DataPowerOAuth 2.0 with IBM WebSphere DataPower
OAuth 2.0 with IBM WebSphere DataPower
 

Recently uploaded

Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 

Recently uploaded (20)

Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 

APIConnect Security Best Practice

  • 1. SECURITY BEST PRACTICE APICONNECT & GATEWAY @SHIUFUNPOON
  • 2. TRADEMARK ACKNOWLEDGEMENTS • IBM, IBM API Connect, IBM DataPower Gateway are trademarks of International Business Machines Corporation, registered in many jurisdictions • Other company, product and service names may be trademarks, registered marks or service marks of their respective owners. A current list of IBM trademarks is available on the web at "Copyright and trademark information" ibm.com/legal/copytrade.html
  • 3. SECURITY • Availability • Configurable • Standard • Ease of use • Monitoring • Resource consumption • …
  • 4. SECURITY – THIS IS ALWAYS A BALANCING ACT • Availability • Configurable • Standard • Ease of use • Monitoring • Resource consumption • …
  • 5. API SECURITY API Gateway: • Decoupling/routing • Traffic management • Security • Translation Developer portal: • API discovery • Self subscription/administration • Account usage analytics • Monetization • Security API Manager: • Plan/product design • Policy administration • API plan usage analytics • API Governance • Security https://www.ibm.com/docs/en/api-connect/2018.x?topic=installing- maintaining-your-api-connect-cloud
  • 7. APIC UNDER THE HOOK • Internal services communicating vs mTLS • Quorum, with 3 being the magic number • APIc is the match maker, it introduces each subsystem to each others • APIM, Portal, Analytics, Gateway • How does APIM <-> Portal • How does APIM <-> Analytics • How does APIM <-> Gateway • How does Portal <-> Analytics • How does Gateway <-> Analytics • Configurable, extensible
  • 9.
  • 10. Ç√
  • 11. API MANAGER • API are published • Publish in openapi v2 format • apim vs consumer • WebGUI/toolkits/portal/BYO • RateLimit Drinking Our Own Champagne Get an access_token access_token must contain the right scope Permission is checked Is token valid Token contains necessary scope ? Does User has the proper permission ?
  • 12. HARDENED PORTAL SECURITY Supports OpenID Connect for accelerated developer on-boarding and social login Enable PSD2/ Open Banking compliance to programmatically onboard consumers using REST Management APIs and OpenID Connect Enhanced spam protection against spam bots with CAPTCHA and honeypot Detect and prevent malicious attacks with perimeter and DNS check Detect and prevent flood attacks
  • 14. APIMANAGER WITH GATEWAY • Gateway must be 24 * 7 (without API manager) • API gateway introduce a gateway director manager • Using clustering technology to track configuration from APIM • Heartbeat from APIm to make sure Gateway will have the latest information • 911 protocol to handle catastrophic failure • Provides the status of how where the configuration with regard to the update from the APIm • Gateway director allows auto scaling of the additional gateway • Configuration/Key Materials • State of the processing
  • 15. • Istio Integration for improved performance & security by passing API header and tokens into Istio • Open API V3 support to meet security industry standards (i.e. PSD2) & improve reuse • OpenBanking & PSD2 Compliant including flexible JWT and OAuth features • 5X Improved Performance with cloud-native API-centric Gateway Service • Fast Time to Value through Out of the Box policies for API Gateway Service • Enterprise Specific Security Support through OAuth flow customization • Expanded Security with OIDC, CAPTCHA, Perimeter, DNS check on Portal, etc. Performant and Secure
  • 16. SECURE & MANAGE GRAPHQL ENDPOINTS Next-Gen evolution of Gateway technology beyond Web services and REST with GraphQL support Secure and Manage APIs with GraphQL backends, efficiently managing compute intensive services Threat Protection against cyberattacks using advance query complexity analysis to prevent API- based attacks Rate Limit GraphQL queries with consumer plans based on number of API calls & backend compute time https://www.ibm.com/blogs/research/2019/02/graphql-api-management/ https://developer.github.com/v4/guides/resource-limitations/
  • 17. 1. Access Control • Who can access the data and what data • APIc • Client credential (application) • User credential (who) 2. Load Control • How much effort for the server to fulfill the request • Complexity • Type (object type) • Resolve GraphQL Endpoints security breakdown
  • 18. Up to 5X+ increased performance with natively built API Gateway using purpose-built technology for native OpenAPI/Swagger REST and SOAP APIs Multi-cloud scalability and extensibility to help meet SLAs and improve client user experience Optimized drag & drop built-in policies for security, traffic control and mediation including flexible OAuth, enhanced JSON & XML threat protection Secure to the core with self-contained signed & encrypted image to minimize risk, plus proven security policies to quickly protect APIs Before: DP Multi protocol Gateway Service API call Backend New: Native API Gateway Service API call Backend CLOUD-NATIVE API GATEWAY SERVICE IN DATAPOWER API GW service
  • 19. POLICIES FOR ENFORCEMENT ON API GATEWAY SERVICE Gateway Script and XSLT policy support provides flexible message mediation & dynamic security enforcement Dynamic Routing support through Conditional Policy Enforce strong security through Parse, JSON and XML Schema Validation policy OpenID Connect support to enable banks to meet PSD2 / Open Banking regulations OAuth Token revocation to enable self-service token management Foundational Security Mediation Invoke API Key Map Activity Log JWT Validate JSON-XML Rate Limit JWT Generate Gateway Script Throw OAuth Policy XSLT Set Variable Parse (Threat Detection) Conditional Validate User Security OpenID Connect Built-in policies
  • 20. Rapid OAuth policy creation to quickly create OAuth provider security without deep security expertise Improved governance capabilities on managing OAuth providers with flexible administrative access control to enforce enterprise standards Ability to meet business demands with customizable OAuth assembly New User Security policy to enforce authentication & authorization in API assembly, adapting to unique enterprise security needs MEETING SECURITY NEEDS THROUGH NEW FLEXIBLE OAUTH PROVIDER
  • 21. FEATURE LIST OF OAUTH IN APIC V5, V2018+V5GW, V2018+APIGW Features V4 V5 v2018 +V5 CompatGW v2018 + APIGW Basic OAuth Support ✅ ✅ ✅ ✅ Distinct Client ids and Secrets ⤫ ✅ ✅ ✅ Separate API ⤫ ✅ ✅ ✅ Access Control ⤫ ⤫ ✅ ✅ Seamless packaging within product ✅ ⤫ ✅ ✅ Tight coupling with Provider ⤫ ⤫ ✅* ✅ Metadata,Token introspection, Revocation/Token Management,Advanced scope handling ⤫ ✅ ✅ ✅ Customize OAuth Assembly ⤫ ⤫ ⤫ ✅ Dynamic configuration updates ⤫ ⤫ ** ⤫ ** ✅ Context variable driven ⤫ ⤫ ⤫ ✅ Independent Resource Owner Security ⤫ ⤫ ⤫ ✅ Out of the box OIDC support ⤫ ⤫ *** ⤫ *** ✅ Out of the box JWT Authorization Grant ⤫ ⤫ ** ⤫ ** ✅ * Tight coupling is only at the APIManager API level, not in the backendV5 Gateway ** Can be done with gateway extension *** Supported by a set of rule in the assembly
  • 22. Rapid OAuth policy creation to quickly create OAuth provider security without deep security expertise Improved governance capabilities on managing OAuth providers with flexible administrative access control to enforce enterprise standards Ability to meet business demands with customizable OAuth assembly New User Security policy to enforce authentication & authorization in API assembly, adapting to unique enterprise security needs MEETING SECURITY NEEDS THROUGH NEW FLEXIBLE OAUTH PROVIDER
  • 23. Out of the box JWT Grant Type Support
  • 24. Out of the box OIDC Support
  • 25. CUSTOMIZABLE EASE OF USE • Crypto material on per OAuth native provider (vs gateway level) • End user credential gathering (context variable) * • Consent handling • Global Policy (and thus inject context variable for processing) * • Token handling (allow listing vs stateless) • Flexibility • ….
  • 26. WHAT SHOULD I DO • Monitoring IBM PSIRT for IBM APIC, IBM DataPower • https://www.ibm.com/security/secure-engineering/process.html • Timely upgrade/migration to a new version of firmware • Balance your security needs vs platform offered (hardware vs ova vs docker vs ..) • How about cloud ? ICP ? • APIC Connect White Paper: https://www.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=03023503USEN& ( • Security vs ease of use vs compatibility • Performance/usage spike • HA (rule of 3) • Stateless (especially across Availability Zone)
  • 27. GATEWAY SPECIFIC • Is WebGUI needed for production • Automate deployment (which APIc solves) • Monitoring gateway (DataPower Operations Dashboard) • Backup administrator • ACL • mTLS with your backend services • Message validation • Payload redact • SLM • AllowList vs BlockList
  • 28. FROM YOU, OUR AUDIENCES • Your feedbacks ? • What would you like to see ? • What can you share with each others on your experience ? Good or Bad