/
REST Services Security  using the Access Control Service REST Services Security  using the Access Control Service

REST Services Security using the Access Control Service - PowerPoint Presentation

sistertive
sistertive . @sistertive
Follow
342 views
Uploaded On 2020-09-28

REST Services Security using the Access Control Service - PPT Presentation

Justin Smith Senior Program Manager Microsoft Corporation SVC19 Agenda Context ACS 101 amp Demo ACS Entities AD FS v2 Integration amp Demo Simple Delegation amp Demo Futures amp Demo ID: 812138

token acs amp adatum acs token adatum amp access claims service web wrap http enterprise swt saml delegation request

Share:

Link:

Embed:

Download Presentation from below link

Download The PPT/PDF document "REST Services Security using the Access..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

REST Services Security using the Access Control Service

Justin SmithSenior Program ManagerMicrosoft Corporation

SVC19

Slide2

Agenda

ContextACS 101 & DemoACS EntitiesAD FS v2 Integration & DemoSimple Delegation & Demo

Futures & Demo

Slide3

ADatum

Assets

ADatum

Partners & Bill Print

Bill Print targets big and small companies

ADatum

REST Web Svc

Slide4

Role Play – ADatum Architects

How to make it easy to onboard small companies?How do we integrate with enterprise directories?

Do we need to become enterprise security wizards?

Will we need different codebases?

How do we allow our customers to grant others access on their behalf?

<the list goes on…>

Slide5

ACS makes it easier

ACS == claims based access control for REST web servicesKey capabilities / features:Usable from any platform (for real

)

Implements

OAuth

WRAP & SWT

Low-friction way to onboard new clientsIntegrates with AD FS v2 Enables simple delegation

A web service can take advantage of these capabilities with ONE code base

Slide6

Community Efforts

OAuth ProfilesWeb Resource Authorization Protocol (WRAP)

Simple Web Tokens (SWT)

Microsoft, Yahoo!, and Google contributed

Specs, community discussion, and other information available on Google groups

http://groups.google.com/group/oauth-wrap-wg

Contributed to

OAuth IETF working group

Slide7

How It Works

ADatum

ACS

Service Namespace

ADatum

REST Web Service

2. Request Access

Token

(Claims)

4. Return Access Token

(output claims from 3)

5. Send Message

w/ Access Token

0. Secret exchange; periodically refreshed

ADatum

Customer

1

. Define access control rules for a customer

6.Token Validated

3

. Map input claims

to output claims based on

access control rules

Slide8

In OAuth WRAP terms (sec. 5.1) …

Authorization Server

Protected

Resource

2. Request Access

Token

(Claims)

4. Return Access Token

(output claims from 3)

5. Send Message

w/ Access Token

0. Secret exchange; periodically refreshed

Client

1

. Define access control rules for a customer

6.Token Validated

3

. Map input claims

to output claims based on

access control rules

Slide9

ACS Token Requests

3 ways to request a tokenPlaintextLowest friction option, no crypto requiredSigned token

Enables simple delegation, HMAC SHA 256 required

AD FS v2 issued SAML bearer token

Enables enterprise integration

ACS always returns the same kind of token

(SWT)

Slide10

What’s a SWT?

role=Admin%2cUser&customerName=Contoso%20Corporation&Issuer=https%3a%2f%2fadatum.accesscontrol.windows.net%2fWRAPv0.8&

Audience=http%3a%2f%2fadatum%2fbillprint&

ExpiresOn

=1255912922&

HMACSHA256=yuVO%2fwc58%2ftYP36%2fDM1mS%2fHr0hswpsGTWwgfvAbpL64%3d

Slide11

How Do I Request a SWT? (Plaintext, sec. 5.1)

POST /WRAPv0.8/ HTTP/1.1

Host:adatum.accesscontrol.windows.net

applies_to

=http%3A%2F%2Fadatum.com%2Fservices%2F&

wrap_name

=adatumcustomer1&wrap_password=5znwNTZDYC39dqhFOTDtnaikd1hiuRa4XaAj3Y9kJhQ%3D

Slide12

How Do I Request a SWT? (Signed Token, sec. 5.2)

POST /WRAPv0.8/ HTTP/1.1

Host:adatum.accesscontrol.windows.net

applies_to

=http%3A%2F%2Fadatum.com%2Fservices%2F&

wrap_SWT

=role%3DAdmin%252cUser%26Issuer%3Dadatumcustomer1%26ExpiresOn%3D1255912922%26HMACSHA256%3DyuVO%252fwc58%252ftYP36%252fDM1mS%252fHr0hswpsGTWwgfvAbpL64%253d

Slide13

How Do I Request a SWT? (SAML Token, sec. 5.2)

POST /WRAPv0.8/ HTTP/1.1

Host:adatum.accesscontrol.windows.net

applies_to

=http%3A%2F%2Fadatum.com%2Fservices%2F&

wrap_SAML

=<…SAML Bearer Token…>

Slide14

Windows Azure

ACS Token Issuing Endpoint

ACS Token Issuing Endpoint

ACS Management Endpoint

ACS Management Endpoint

ACS Gross Anatomy

ACS Token Issuing Endpoint

ACS Management Endpoint

SDK

Portal

ACM.exe

Mgmt Browser

Slide15

ADatum Basics

ACS 101 Demo

Slide16

ACS Token Issuing Behavior

ACS entities control token issuing behaviorToken PolicyExpiration & signature key

Issuer

Cryptographic key material (requests)

Scope

URI that ACS uses to group Rule entities

Rule Set / RuleDetermines claims present in ACS tokens

Slide17

ACS Resource Hierarchy

Slide18

ACS Resource URIs

Slide19

ACS & Enterprise Integration

ACS accepts signed SAML bearer tokens in token requestsAD FS v2 can issue theseWIF is the easiest way to request a SAML token from AD FS v2

ACS must have knowledge of the signing key in order to validate the SAML token

ACS publishes and parses WS-Fed metadata

Automates establishing the trust relationship

Slide20

ADatum & Enterprise Integration

ADatum

ACS

Service Namespace

ADatum

REST Web Service

ADatum

Customer

AD FS

V2

Slide21

ADatum & Enterprise Customers

ACS Enterprise Integration

Slide22

Simple Delegation

ADatum wants to give their customers the ability to grant others accessACS service namespaces can be linked

ACS ns1 trusts tokens issued from ACS ns2

Requires mapping token policies and issuers

ACS ns1 contains an issuer whose key matches a token policy from ACS ns2

Slide23

ADatum & Simple Delegation

ADatum

ACS

Service Namespace

ADatum

REST Web Service

ADatum

Customer ACS Service Namespace

ADatum

Customer’s

Partner

AD FS

V2

Slide24

ADatum & Simple Delegation

ACS Simple Delegation

Slide25

Futures / Roadmap

Support for Web Identity ProvidersWeb identity providers (Live ID, Facebook

Connect, Google, Open ID, etc.)

Enterprise identity providers

Native WS-* Support

WS-Trust and WS-Federation

CardSpace

Slide26

Web Identity Demo

ACS Futures

Slide27

YOUR FEEDBACK IS IMPORTANT TO US!

Please fill out session evaluation forms online at

MicrosoftPDC.com

Slide28

Learn More On Channel 9

Expand your PDC experience through Channel 9

Explore videos, hands-on labs, sample code and demos through the new Channel 9 training courses

channel9.msdn.com/learn

Built by Developers for Developers….

Slide29

Slide30