SlideShare una empresa de Scribd logo
1 de 27
SSO
Single Sign On/Off
Russel Mahmud
hossain@newscred.com
drive.google.com
gmail.google.com
drive.google.com
www.youtube.com
accounts.google.com
What is
SSO?
SSO Foundations
Authorization
Access Control
Identification
Authentication
SSO
Why SSO?
1. End User Experience Enhanced
2. Single Login Form
3. Centralized Auditing/Reporting
4. Developer Productivity Improved
5. Multi-factor Authentication Support
6. Reduce IT costs due to lower number of IT help desk calls
about passwords
Terminology
Cookies
Authentication
HTTPS
Encryption
Authorization
HTTPS
HTTPS
Encryption
1. Encryption algorithms transfer plain text into cipher text.
2. Two main types of encryption algorithms:
• Symmetric encryption
• Use same key for encryption and decryption
• Asymmetric encryption
• Use different keys for encryption and decryption
3. Symmetric algorithms are much faster than Asymmetric
encryption
RSA
HMAC
DSA
SSO Techniques
1. CAS
2. SAML
3. OpenID
4. oAuth
How Does CAS work?
Web
Application
CAS
Kerberos
4.0Validate
2.1 Authentication
LD
AP
2.2Authentication
How Does oAuth work?
NewsCred Auth(MVP)
Goals
1. Centralize authentication process
2. Keep basic account data isolated
3. Allow users to stay logged in while browsing different apps
NewsCred Auth Design
smartgallery.newscred.com
1. Initial request
NewsCred Auth Design
smartgallery.newscred.com
1. Initial request
redirect to https://accounts.newscred.com/login/
2. No local session
NewsCred Auth Design
smartgallery.newscred.com
accounts.newscred.com
NewsCred Auth Design
smartgallery.newscred.com
accounts.newscred.com
3.0 Login form
Authentication
CDB
Database
3.1Login
verification
NewsCred Auth Design
smartgallery.newscred.com
accounts.newscred.com
3.0 Login form
Authentication
CDB
Database
3.1Login
verification
3.2 Sets Cookies (top domain)
Redirect callback_url?token=encrypted_token
NewsCred Auth Design
smartgallery.newscred.com
accounts.newscred.com
3.0 Login form
Authentication
CDB
Database
3.1Login
verification
3.2 Sets Cookies (top domain)
Redirect callback_url?token=encrypted_token
NewsCred Auth Design
smartgallery.newscred.com
accounts.newscred.com
3.0 Login form
Authentication
CDB
Database
3.1Login
verification
3.2 Sets Cookies (top domain)
Redirect callback_url?token=encrypted_token
5.0 Access Web Application
Client Application Flowchart
Local
Session
?
Auth
Cookies
?
Yes
Private
Resource
Yes
NO
NO
Authentication Server
Create Local
Session
Verify
Token
NO
Token RSA
HMAC
DSA
Challenges
1. Cross domain auto logged in issue
2. Checking user permission of each domain
3. Updating and deleting account information
4. Cookies theft
Web Services
1. Public APIs : from anywhere, no authentication
2. S2S APIs : authenticated via API keys
Questions ?

Más contenido relacionado

La actualidad más candente

WHS-hackability-Index-083013
WHS-hackability-Index-083013WHS-hackability-Index-083013
WHS-hackability-Index-083013
Janis Weiss
 

La actualidad más candente (20)

Secure Code Warrior - Unrestricted file upload
Secure Code Warrior - Unrestricted file uploadSecure Code Warrior - Unrestricted file upload
Secure Code Warrior - Unrestricted file upload
 
Secure Code Warrior - Cookies and sessions
Secure Code Warrior - Cookies and sessionsSecure Code Warrior - Cookies and sessions
Secure Code Warrior - Cookies and sessions
 
Cross Site Scripting (XSS)
Cross Site Scripting (XSS)Cross Site Scripting (XSS)
Cross Site Scripting (XSS)
 
Cross site scripting (xss)
Cross site scripting (xss)Cross site scripting (xss)
Cross site scripting (xss)
 
Sitecore with Azure AD and Multifactor Authentication
Sitecore with Azure AD and Multifactor AuthenticationSitecore with Azure AD and Multifactor Authentication
Sitecore with Azure AD and Multifactor Authentication
 
Shoot Me a Token: OpenAM as an OAuth2 Provider
Shoot Me a Token: OpenAM as an OAuth2 ProviderShoot Me a Token: OpenAM as an OAuth2 Provider
Shoot Me a Token: OpenAM as an OAuth2 Provider
 
Reflective and Stored XSS- Cross Site Scripting
Reflective and Stored XSS- Cross Site ScriptingReflective and Stored XSS- Cross Site Scripting
Reflective and Stored XSS- Cross Site Scripting
 
Cross site scripting attacks and defenses
Cross site scripting attacks and defensesCross site scripting attacks and defenses
Cross site scripting attacks and defenses
 
Web application attacks
Web application attacksWeb application attacks
Web application attacks
 
WHS-hackability-Index-083013
WHS-hackability-Index-083013WHS-hackability-Index-083013
WHS-hackability-Index-083013
 
OWASPTop 10
OWASPTop 10OWASPTop 10
OWASPTop 10
 
Cross site scripting
Cross site scriptingCross site scripting
Cross site scripting
 
Web Security Attacks
Web Security AttacksWeb Security Attacks
Web Security Attacks
 
Xss (cross site scripting)
Xss (cross site scripting)Xss (cross site scripting)
Xss (cross site scripting)
 
Security guidelines for web development
Security guidelines for web developmentSecurity guidelines for web development
Security guidelines for web development
 
Cross Site Scripting Defense Presentation
Cross Site Scripting Defense Presentation Cross Site Scripting Defense Presentation
Cross Site Scripting Defense Presentation
 
WSO2 API Manager: Support for OpenAPI 3.0, Access Control for APIs, and More
WSO2 API Manager:  Support for OpenAPI 3.0, Access Control for APIs, and MoreWSO2 API Manager:  Support for OpenAPI 3.0, Access Control for APIs, and More
WSO2 API Manager: Support for OpenAPI 3.0, Access Control for APIs, and More
 
Secure Code Warrior - Cross site scripting
Secure Code Warrior - Cross site scriptingSecure Code Warrior - Cross site scripting
Secure Code Warrior - Cross site scripting
 
Cross site scripting XSS
Cross site scripting XSSCross site scripting XSS
Cross site scripting XSS
 
API Security : Patterns and Practices
API Security : Patterns and PracticesAPI Security : Patterns and Practices
API Security : Patterns and Practices
 

Destacado

Pharmaceutical licensing in oncology
Pharmaceutical licensing in oncology Pharmaceutical licensing in oncology
Pharmaceutical licensing in oncology
Pipelinepharma
 
eefa7a8144719a068359ed302deb6abe.ppt
eefa7a8144719a068359ed302deb6abe.ppteefa7a8144719a068359ed302deb6abe.ppt
eefa7a8144719a068359ed302deb6abe.ppt
swebtests
 
Error log
Error logError log
Error log
Mr_L0ng
 
Copy of posture,breathing and clothing revised jason version
Copy of posture,breathing and clothing revised jason versionCopy of posture,breathing and clothing revised jason version
Copy of posture,breathing and clothing revised jason version
Nick Pellicciotta
 
Lesson 3 revelation seminars the villain of the drama of revelation
Lesson 3 revelation seminars  the villain of the drama of revelationLesson 3 revelation seminars  the villain of the drama of revelation
Lesson 3 revelation seminars the villain of the drama of revelation
Nick Pellicciotta
 

Destacado (20)

Evaluation 2
Evaluation 2Evaluation 2
Evaluation 2
 
Pharmaceutical licensing in oncology
Pharmaceutical licensing in oncology Pharmaceutical licensing in oncology
Pharmaceutical licensing in oncology
 
Property troubles no more
Property troubles no moreProperty troubles no more
Property troubles no more
 
A plain-distinction-part-2
A plain-distinction-part-2A plain-distinction-part-2
A plain-distinction-part-2
 
Lexical approach
Lexical approachLexical approach
Lexical approach
 
Facebook Presentation
Facebook  PresentationFacebook  Presentation
Facebook Presentation
 
Macro final
Macro finalMacro final
Macro final
 
eefa7a8144719a068359ed302deb6abe.ppt
eefa7a8144719a068359ed302deb6abe.ppteefa7a8144719a068359ed302deb6abe.ppt
eefa7a8144719a068359ed302deb6abe.ppt
 
Error log
Error logError log
Error log
 
Copy of posture,breathing and clothing revised jason version
Copy of posture,breathing and clothing revised jason versionCopy of posture,breathing and clothing revised jason version
Copy of posture,breathing and clothing revised jason version
 
บันทึกการประชุมคณะกรรมการรักษาความมั่นคงและความสงบเรียบร้อย
บันทึกการประชุมคณะกรรมการรักษาความมั่นคงและความสงบเรียบร้อยบันทึกการประชุมคณะกรรมการรักษาความมั่นคงและความสงบเรียบร้อย
บันทึกการประชุมคณะกรรมการรักษาความมั่นคงและความสงบเรียบร้อย
 
Theemergingchurchandtheoneprojectpart5 131031011512-phpapp01
Theemergingchurchandtheoneprojectpart5 131031011512-phpapp01Theemergingchurchandtheoneprojectpart5 131031011512-phpapp01
Theemergingchurchandtheoneprojectpart5 131031011512-phpapp01
 
3 Interesting Myths and Unknown drug facts
3 Interesting Myths and Unknown drug facts3 Interesting Myths and Unknown drug facts
3 Interesting Myths and Unknown drug facts
 
Lesson 3 revelation seminars the villain of the drama of revelation
Lesson 3 revelation seminars  the villain of the drama of revelationLesson 3 revelation seminars  the villain of the drama of revelation
Lesson 3 revelation seminars the villain of the drama of revelation
 
Oestv 2016-12 - l'apprentissage
Oestv   2016-12 - l'apprentissageOestv   2016-12 - l'apprentissage
Oestv 2016-12 - l'apprentissage
 
7 seals
7 seals7 seals
7 seals
 
Prometna Učilica - Pješačka zona i područje smirenog prometa
Prometna Učilica - Pješačka zona i područje smirenog prometaPrometna Učilica - Pješačka zona i područje smirenog prometa
Prometna Učilica - Pješačka zona i područje smirenog prometa
 
Prometna Učilica - Djeca i roditelji na putu do škole
Prometna Učilica - Djeca i roditelji na putu do školePrometna Učilica - Djeca i roditelji na putu do škole
Prometna Učilica - Djeca i roditelji na putu do škole
 
Computer Graphics Calender
Computer Graphics CalenderComputer Graphics Calender
Computer Graphics Calender
 
Prometna Učilica: Droge
Prometna Učilica: DrogePrometna Učilica: Droge
Prometna Učilica: Droge
 

Similar a SSO (Single Sign On/Off)

SecureOTP: Total One-Time-Password Solution
SecureOTP: Total One-Time-Password SolutionSecureOTP: Total One-Time-Password Solution
SecureOTP: Total One-Time-Password Solution
Rafidah Ariffin
 

Similar a SSO (Single Sign On/Off) (20)

SINGLE SIGN-ON
SINGLE SIGN-ONSINGLE SIGN-ON
SINGLE SIGN-ON
 
Web Single sign on system
Web Single sign on systemWeb Single sign on system
Web Single sign on system
 
Single sign on assistant an authentication brokers
Single sign on assistant an authentication brokersSingle sign on assistant an authentication brokers
Single sign on assistant an authentication brokers
 
SecureOTP: Total One-Time-Password Solution
SecureOTP: Total One-Time-Password SolutionSecureOTP: Total One-Time-Password Solution
SecureOTP: Total One-Time-Password Solution
 
Help! I Have An Identity Crisis: A look at various mechanisms of Single Sign On
Help! I Have An Identity Crisis: A look at various mechanisms of Single Sign OnHelp! I Have An Identity Crisis: A look at various mechanisms of Single Sign On
Help! I Have An Identity Crisis: A look at various mechanisms of Single Sign On
 
Security 101: Multi-Factor Authentication for IBM i
Security 101: Multi-Factor Authentication for IBM iSecurity 101: Multi-Factor Authentication for IBM i
Security 101: Multi-Factor Authentication for IBM i
 
Security 101: Multi-Factor Authentication for IBM i
Security 101: Multi-Factor Authentication for IBM iSecurity 101: Multi-Factor Authentication for IBM i
Security 101: Multi-Factor Authentication for IBM i
 
Eliminating Secret Sprawl in the Cloud with HashiCorp Vault - 07.11.2018
Eliminating Secret Sprawl in the Cloud with HashiCorp Vault - 07.11.2018Eliminating Secret Sprawl in the Cloud with HashiCorp Vault - 07.11.2018
Eliminating Secret Sprawl in the Cloud with HashiCorp Vault - 07.11.2018
 
JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!
JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!
JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!
 
QA Fest 2019. Диана Пинчук. Тестирование аутентификации и авторизации (AuthN ...
QA Fest 2019. Диана Пинчук. Тестирование аутентификации и авторизации (AuthN ...QA Fest 2019. Диана Пинчук. Тестирование аутентификации и авторизации (AuthN ...
QA Fest 2019. Диана Пинчук. Тестирование аутентификации и авторизации (AuthN ...
 
Single sign on - benefits, challenges and case study : iFour consultancy
Single sign on - benefits, challenges and case study :  iFour consultancySingle sign on - benefits, challenges and case study :  iFour consultancy
Single sign on - benefits, challenges and case study : iFour consultancy
 
K8s idm-devfest
K8s idm-devfestK8s idm-devfest
K8s idm-devfest
 
Best Practices in Cloud Security
Best Practices in Cloud SecurityBest Practices in Cloud Security
Best Practices in Cloud Security
 
Kebocoran Data_ Tindakan Hacker atau Kriminal_ Bagaimana kita mengantisipasi...
Kebocoran Data_  Tindakan Hacker atau Kriminal_ Bagaimana kita mengantisipasi...Kebocoran Data_  Tindakan Hacker atau Kriminal_ Bagaimana kita mengantisipasi...
Kebocoran Data_ Tindakan Hacker atau Kriminal_ Bagaimana kita mengantisipasi...
 
SEO benefits | ssl certificate | Learn SEO
SEO benefits | ssl certificate | Learn SEOSEO benefits | ssl certificate | Learn SEO
SEO benefits | ssl certificate | Learn SEO
 
SSO introduction
SSO introductionSSO introduction
SSO introduction
 
CIS13: Identity as a Matter of Public Safety: A Case Study in Secure API Acce...
CIS13: Identity as a Matter of Public Safety: A Case Study in Secure API Acce...CIS13: Identity as a Matter of Public Safety: A Case Study in Secure API Acce...
CIS13: Identity as a Matter of Public Safety: A Case Study in Secure API Acce...
 
ConFoo 2015 - Securing RESTful resources with OAuth2
ConFoo 2015 - Securing RESTful resources with OAuth2ConFoo 2015 - Securing RESTful resources with OAuth2
ConFoo 2015 - Securing RESTful resources with OAuth2
 
Fundamentals of Microsoft 365 Security , Identity and Compliance
Fundamentals of Microsoft 365 Security , Identity and ComplianceFundamentals of Microsoft 365 Security , Identity and Compliance
Fundamentals of Microsoft 365 Security , Identity and Compliance
 
Authenticator and provisioning connector in wso2 Identity Server
Authenticator and provisioning connector in wso2 Identity ServerAuthenticator and provisioning connector in wso2 Identity Server
Authenticator and provisioning connector in wso2 Identity Server
 

Último

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

SSO (Single Sign On/Off)