Top Banner
Steffo Weber, Oracle & Max Liesegang, esentri Tuesday, 21-May-2013 Latest Entries Write secure code, don’t write security code. Read more Tuning the industry’s most trusted directory server. Read more Harnessing Sun’s OpenSSO Authentication and Authorization. Read more Hands-On SOA and Web Security. Read more Fine-grained authorization and XACML. Read more THE NEW DIGITAL EXPERIENCE SECURING steffo.weber@oracle.com maximilian.liesegang@esentri.com Protecting IDPs from malformed SAML requests Read more Mobile & Social Apps Wednesday, November 6, 13
33

SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Sep 01, 2018

Download

Documents

duongcong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Steffo Weber, Oracle & Max Liesegang, esentri Tuesday, 21-May-2013 Latest Entries

Write secure code, don’t write security code.Read more

Tuning the industry’s most trusted directory server. Read more

Harnessing Sun’s OpenSSO Authentication and Authorization.

Read moreHands-On SOA and Web Security.

Read more

Fine-grained authorization and XACML.Read more

THE NEW DIGITALEXPERIENCE

SECURING

[email protected]@esentri.com

Protecting IDPs from malformed SAML requests Read moreMobile & Social Apps

Wednesday, November 6, 13

Page 2: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

ExperienceMotivation Foundation

‣ What for?‣ UI vs UX vs Security‣ Channels

‣ How long?‣ How complicated?‣ Alternatives

‣ OAuth‣ XCode

Overview

Wednesday, November 6, 13

Page 3: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

M MotivationImportance of mobile access management

Wednesday, November 6, 13

Page 4: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Evolution of UXMotivation

Information &Data Design

Graphical UI

Pro

Pros

umer

Cons

umer

User Experienced Design

Wednesday, November 6, 13

Page 5: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Why UX is not UIMotivation

‣ Touchscreen with GUI‣ Application (MVC)‣ Background Services (REST)

Wednesday, November 6, 13

Page 6: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Some findings (hypothesis first)Motivation

13.6 million tablets shipped to enterprises (2011)

96.3 million tablets shipped to enterprises (2016)

http://www.mobilestatistics.com/mobile-news/the-rise-of-the-enterprise-tablet.aspxMobile Apps. What Consumers really want (Compuware)

Wednesday, November 6, 13

Page 7: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Some findings (hypothesis first)Motivation

85% prefer mobile apps over mobile websites

79% will not retry an app if the failed once or twice

48% will delete an app if it is too slow

http://www.mobilestatistics.com/mobile-news/the-rise-of-the-enterprise-tablet.aspxMobile Apps. What Consumers really want (Compuware)

Wednesday, November 6, 13

Page 8: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Consumer

Don't make me think.

Wednesday, November 6, 13

Page 9: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Buying process

1.Problem/NeedRecognition 2.Information

Search 3.Evaluation ofAlternatives 4.Purchase

Decision 5.Post-purchaseBehaviour

Social ID Social IDWeb Trail

Social IDWeb TrailAddressBilling Rel

Social IDWeb TrailAddressBilling RelCustomer ID

?

and corresponding identity.

This is where real identity comes into play.

Wednesday, November 6, 13

Page 10: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Customer Loyalty

UX Security

CRM

Wednesday, November 6, 13

Page 11: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Customer Loyalty

mobile sites, mobile apps, traditional channels.

Cookies, web SSO

Cookies, web SSO

Multiple apps…

Advice: all channels are equal.

Wednesday, November 6, 13

Page 12: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Customer Loyalty Advice: all channels are equal.

WebSSO Access Management (WAM)

Mobile Access Management

iOS built-in Kerberos

Wednesday, November 6, 13

Page 13: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Customer Loyalty Advice: all channels are equal.

Unified Access Management

Wednesday, November 6, 13

Page 14: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Φ FoundationHow to achieve SSO for multiple apps?

Wednesday, November 6, 13

Page 15: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Foundation

Wednesday, November 6, 13

Page 16: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Foundation

Business/ServicesLayer

PresentationLayer

DataLayer

Wednesday, November 6, 13

Page 17: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Foundation

In a browser world, we don’taccess services layers directly.

Business/ServicesLayer

PresentationLayer

DataLayer

Wednesday, November 6, 13

Page 18: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Foundation

In a browser world, we don’taccess services layers directly.

Business/ServicesLayer

PresentationLayer

DataLayer

Wednesday, November 6, 13

Page 19: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Foundation

In a browser world, we don’taccess services layers directly.

Business/ServicesLayer

PresentationLayer

DataLayer

Wednesday, November 6, 13

Page 20: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Foundation

Accessing the serviceslayer from untrusted devicesexposes new risks.

In a browser world, we don’taccess services layers directly.

iPhone is the new presention layer

Business/ServicesLayer

PresentationLayer

DataLayer

Wednesday, November 6, 13

Page 21: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Foundation

Accessing the serviceslayer from untrusted devicesexposes new risks.

In a browser world, we don’taccess services layers directly.

iPhone is the new presention layer

Business/ServicesLayer

PresentationLayer

DataLayer

No trust between ext DMZ and service zone.

Wednesday, November 6, 13

Page 22: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Foundation

one user tokenvs.

multiple access tokens

OAuth concepts

Wednesday, November 6, 13

Page 23: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Foundation

iOS/Andoid App SSO Agent Mobile & Social

User starts App

BA

REST WebService

Who is the SSO Agent on this iPhone?

agent://<get access token>C

Issue access token

F

D1

Make REST call using libIDMMobileSDK. Access token is inserted automatically by SDK

You can reach it via URL scheme agent://

If user has not been authN, present login dialog and request user token.

D2

If user token is present, get access token for app/service.

Forward access tokenE1

E2

Wednesday, November 6, 13

Page 24: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Foundation

HTTP Call (intercepted)‣ check for cookies‣ check for JWT

Service REST, SOAP, etc

Oracle Access ManagerMobile & Social

Wednesday, November 6, 13

Page 25: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Foundation

Oracle Access Management Services

Access Manager

Adaptive Access Manager

Entitlements Server (OpenAZ, XACML)

Directory Services (LDAP)

Mob

ile &

Soc

ial

libMobileREST/JSON/JWT/OAuth

Objective C Java

RESTful Identity Services (CRUD, AuthN/Z, Token

Services)

OWSM (WS-Sec) SOAP-WS

Legacy Services

XACML/OpenAZ

WebGateClassical WebSSO

Oracle Service Bus

API Gateway w

Wednesday, November 6, 13

Page 26: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Import libIDMMobileSDK.aFoundation

Wednesday, November 6, 13

Page 27: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Register a URL schemeFoundation

Wednesday, November 6, 13

Page 28: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

SSO relevant code in iOS appFoundation#import "IDMMobileSDK.h"/* we have @property (nonatomic,retain) OMMobileSecurityService *mobileServices; from header */

- (void)connectToOICServerAndSetup { …… OMMobileSecurityService *mss = [[OMMobileSecurityService alloc] initWithURL:self.oicURL // e.g. http://token.net:14100/ appName:self.applicationName // e.g. SampleApp or Art domain:self.oicServiceDomainName // e.g. MagServiceDomain delegate:self]; self.mobileServices = mss; …… UIBarButtonItem *rightButton = [[UIBarButtonItem alloc] initWithTitle:@"Login" style:UIBarButtonItemStyleBordered target:self action:@selector(doLogin:)]; }

- (IBAction)doLogin:(id)object { ….. NSError *error = nil; error = [self.mobileServices startAuthenticationProcess:nil presenterViewController:self];}

- (void)didFinishAuthentication:(OMAuthenticationContext *)context error:(NSError *)error{ .... username = context.userName;}

Initialize app & load profile from central server

Login button & event config

Event handler

Wednesday, November 6, 13

Page 29: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Σ ExperienceHow long?How complex?

Wednesday, November 6, 13

Page 30: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

How long did it take?Experience

‣ Good• Easy iOS integration (SSO is transparent to the developer)• Complete service protection• No hazzle with Apple app store

‣ Suggested enhancements• Currently uses old app delegate pattern

Wednesday, November 6, 13

Page 31: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

How long did it take?Experience

1 day

Oracle Access ManagerMobile & Social

0.5 - 1 day0.5 - 1 day

2 – 4 days

Wednesday, November 6, 13

Page 32: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

What about iOS 7 native SSOExperience

Mobile & Social iOS Enterprise SSO

Requires Configuration Profile No Yes, only acceptable with MDM use cases

Application Can Control Authentication Flow

Yes No

Customizable Authentication Experience and UI

Yes No

Protocol OAuth, REST Kerberos only

Adaptive Access Support Yes No

Device Registration Yes MDM type  registration with Configuration Profile

Resources Definition Dynamic through Admin console

Need to redistribute Configuration Profile to add new URLs

Apps Definition Dynamic through Admin console

Need to redistribute Configuration Profile to add new App Bundle Id, need to confirm whether wild card could cause security issue.

Wednesday, November 6, 13

Page 33: SECURING THE NEW DIGITAL EXPERIENCE · Harnessing Sun’s OpenSSO Authentication and Authorization. Hands-On SOA and Web Security. ... Data Design Graphical UI Pro Prosumer Consumer

Mobile is the new black

Will TV be the new mobile?

http://flip.it/caxRaIdentity Culture

Wednesday, November 6, 13