Enterprise OAuth 2.0

Enterprise OAuth 2.0 - Enterprise and Social Media Application Landscape

Security Basics - Providers
  • User, Identity
    • Where are the user credentials stored?
  • Authentication
    • Who does this? IDP
    • How does it happen?
  • Authorization
    • Application does this
    • Uses information from IDP
Security Basics - Homegrown
  • Identify
    • Stored in application database
  • Authentication
    • Done by application
  • Authorization
    • Done by application
  • Not recommended
Security Basics - LDAP
  • Identity
    • Stored in LDAP database
    • Microsoft Active Directory
  • Authentication
    • Done by LDAP(AD)
  • Authorization
    • Done by Application
  • LDAP and Application in same data center

image-20210313171711846

Security Basics - SAML(Security Assertion Markup Language)
  • Communicating across data centers(use HTTP Redirect)
  • Identity
    • Stored in LDAP database
    • Microsoft Active Directory
  • Authentication
    • SAML Identity Provider does the authentication
    • ADFS
  • Authorization
    • Application controls it
    • Can use LDAP groups
  • SAML Metadata File
  • Trust between
    • SAML Identity Provider
    • SAML Service Provider
  • SAML Response
    • Contains SAML Token
    • Token contains claims
  • Federated User
  • Single Sign On
  • Redirect importance

image-20210313171607905

Security Basics - SSO
  • Avoid entering the user credentials (use SSO)
  • The network user is already a part of AD
  • Single Sign On(SSO)
    • Enterprise SSO
Problem Use cases
  • Microservices

image-20210313172351993

  • Cloud Apps

    • How does REST calls across network boundaries get secured?

    image-20210313172605994

  • Machine to Machine

    • Scheduled Tasks, Daemons sometimes need to call REST APIs. How are they secured?
    • No user involved

    image-20210313172904719

Social Media Platform
  • Social Media Sites
    • Facebook
    • LinkedIn
    • Google
    • Twitter
    • GitHub
    • Yahoo
  • A user usually has Multiple Identities
    • Many Identify Providers
  • What if a third party application wants to access or publish to these sites on behalf of its user?
    • User/password would be a bad idea.

image-20210313173630595

相信未来 - 该面对的绝不逃避,该执著的永不怨悔,该舍弃的不再留念,该珍惜的好好把握。
原文地址:https://www.cnblogs.com/keepmoving1113/p/14529709.html