Вы находитесь на странице: 1из 47

Trust Boundaries

• Trust boundary
• Static
• Monitoring and controlling
– IT Dept.
• Access
– Network
– System
– Applications
• Access
– Network
– System
– Applications
• Network security controls
• Access
– Network
– System
– Applications
• Network security controls
– Intrusion detection system
– Multifactor authentication
• Cloud computing
– Trust boundary
• Dynamic
• Moves beyond the control of IT
Why IAM?
• Improves operational efficiency and regulatory
compliance management
1. User on-boarding and other repetitive tasks.
– Self-service for users requesting password resets
2. To protect systems, applications and information
from internal and external threats.
– Deleting sensitive files
3. To comply with various regulatory, privacy and
data protection requirements
Use cases
• Employees and on-site contractors of an organization
accessing SaaS service using identity federation.
• IT administrators accessing CSP management console
to provision resources and access for users using a
corporate identity.
• Developers creating accounts in a PaaS platform
• End users accessing storage service in the cloud and
sharing files and objects with users, within and outside
the domain using access policy management features.
• An application residing in a cloud service provider
accessing storage from another cloud service.
– Amazon EC2 can access Mosso.
Why IAM
• Improves operational efficiency and regulatory compliance
management
• IAM enables organizations to achieve access control and
operational security
• Cloud use cases that need IAM
– Organization employees accessing SaaS se4rvidce using identity
federation
– IT admin access CSP management console to provision
resources and access foe users using a corporate identity
– Developers creating accounts for partner users in PaaS
– End uses access storage service in a cloud
– Applications residing in a cloud serviced provider access storage
from another cloud service
Why IAM?
• Improves operational efficiency and regulatory compliance
management
• IAM enables organizations to achieve access control and
operational security
• Cloud use cases that need IAM
– Organization employees accessing SaaS se4rvidce using identity
federation
– IT admin access CSP management console to provision
resources and access foe users using a corporate identity
– Developers creating accounts for partner users in PaaS
– End uses access storage service in a cloud
– Applications residing in a cloud serviced provider access storage
from another cloud service
IAM Challenges
• To rapidly provide appropriate access to the
users whose roles and responsibilities often
change for business reasons.
• Turnover of users within the organization.
IAM Challenges
• To rapidly provide appropriate access to the
users whose roles and responsibilities often
change for business reasons.
• Turnover of users within the organization.
– new product and service releases,
IAM Challenges
• To rapidly provide appropriate access to the
users whose roles and responsibilities often
change for business reasons.
• Turnover of users within the organization.
– new product and service releases,
– changing responsibilities etc.
IAM Challenges
• To rapidly provide appropriate access to the
users whose roles and responsibilities often
change for business reasons.
• Turnover of users within the organization.
– new product and service releases,
– changing responsibilities etc.

• Need standards and protocols that address


the IAM challenges
IAM Definitions
• Authentication
– Verifying the identity of a user, system or service
• Authorization
– Privileges that a user or system or service has after being
authenticated (e.g., access control)
– In some cases, there is no authorization; any user may be use a
resource or access a file simply by asking for it. Most of the web
pages on the Internet require no authentication or authorization.
• Auditing
– Review and examine what the user, system or service has carried
out
– Check for compliance
IAM Architecture and Practice
• User management
– Activities for the effective governance and management of
identity life cycles
• Authentication management
– Activities for the effective governance and management of
the process for determining that an entity is who or what it
claims to be
• Authorization management
– Activities for the effective governance and management of
the process for determining entitlement rights that decide
what resources an entity is permitted to access in
accordance with the organization’s policies
IAM Architecture and Practice
• Access management
– Enforcement of policies for access control in response
to a request from an entity (user, services) wanting to
access an IT resource within the organization
• Data management and provisioning
– Propagation of identity and data for authorization to IT
resources via automated or manual processes
• Monitoring and auditing
– Monitoring, auditing, and reporting compliance by
users regarding access to resources within the
organization based on the defined policies
IAM Architecture and Practice
• Credential and attribute management
– These processes are designed to manage the life cycle of credentials and user attributes— create,
issue, manage, revoke—to minimize the business risk associated with identity impersonation and
inappropriate account use.
• Entitlement management
– Entitlements are also referred to as authorization policies. The processes in this domain address the
provisioning and deprovisioning of privileges needed for the user to access resources including
systems, applications, and databases.
• Compliance management
– This process implies that access rights and privileges are monitored and tracked to ensure the security
of an enterprise’s resources.
IAM Architecture and Practice
• Identity federation management
– Federation is the process of managing the trust relationships established
beyond the internal network boundaries or administrative domain
boundaries among distinct organizations. A federation is an association
of organizations that come together to exchange information about their
users and resources to enable collaborations and transactions (e.g.,
sharing user information with the organizations’ benefits systems
managed by a third-party provider). Federation of identities to service
providers will support SSO to cloud services.
• Centralization of authentication (authN) and authorization (authZ)
– A central authentication and authorization infrastructure alleviates the
need for application developers to build custom authentication and
authorization features into their applications. Furthermore, it promotes
a loose coupling architecture where applications become agnostic to the
authentication methods and policies. This approach is also called an
“externalization of authN and authZ” from applications.
Identity life cycle
IAM process consists of the following:

– User management (for managing identity life cycles),


– Authentication management,
– Authorization management,
– Access management,
– Data management and provisioning,
– Monitoring and auditing
– Provisioning,
– Credential and attribute management,
– Entitlement management,
– Compliance management,
– Identity federation management,
– Centralization of authentication and authorization,
IAM Standards and Specifications
for Organizations
1. How can I avoid duplication of identity, attributes, and
credentials and provide a single sign-on user experience
for my users? SAML.
2. How can I automatically provision user accounts with
cloud services and automate the process of provisioning
and deprovisioning? SPML.
3. How can I provision user accounts with appropriate
privileges and manage entitlements for my users?
XACML.
4. How can I authorize cloud service X to access my data
in cloud service Y without disclosing credentials? OAuth.
Security Assertion Markup
Language (SAML)
• SAML is the most mature, detailed, and widely
adopted specifications family for browser-
based federated sign-on for cloud users.
• Figure 2 illustrates an SSO into Google Apps
from the browser. The figure illustrates the
following steps involved in the SSO process of
a user who is federated to Google:
1. The user from your organization attempts to reach a hosted Google application, such as Gmail,
Start Pages, or another Google service.
2. Google generates a SAML authentication request. The SAML request is encoded and embedded
into the URL for your organization’s IdP supporting the SSO service. The Relay State parameter
containing the encoded URL of the Google application that the user is trying to reach is also
embedded in the SSO URL. This Relay State parameter is meant to be an opaque identifier that is
passed back without any modification or inspection.
3. Google sends a redirect to the user’s browser. The redirect URL includes the encoded SAML
authentication request that should be submitted to your organization’s IdP service.
4. Your IdP decodes the SAML request and extracts the URL for both Google’s Assertion
Consumer Service (ACS) and the user’s destination URL (the Relay State parameter). Your IdP
then authenticates the user. Your IdP could authenticate the user by either asking for valid login
credentials or checking for valid session cookies.
5. Your IdP generates a SAML response that contains the authenticated user’s username. In
accordance with the SAML 2.0 specification, this response is digitally signed with the partner’s
public and private DSA/RSA keys.
6. Your IdP encodes the SAML response and the Relay State parameter and returns that
information to the user’s browser. Your IdP provides a mechanism so that the browser can forward
that information to Google’s ACS. For example, your IdP could embed the SAML response and
destination URL in a form and provide a button that the user can click to submit the form to
Google. Your IdP could also include JavaScript on the page that automatically submits the form to
Google.
7. Google’s ACS verifies the SAML response using your IdP’s public key. If the response is
successfully verified, ACS redirects the user to the destination URL.
8. The user has been redirected to the destination URL and is logged in to Google Apps.
IAM Standards and Specifications
for Organizations
1. How can I avoid duplication of identity, attributes, and
credentials and provide a single sign-on user experience
for my users? SAML.
2. How can I automatically provision user accounts with
cloud services and automate the process of provisioning
and deprovisioning? SPML.
3. How can I provision user accounts with appropriate
privileges and manage entitlements for my users?
XACML.
4. How can I authorize cloud service X to access my data
in cloud service Y without disclosing credentials? OAuth.
Service Provisioning Markup
Language (SPML)
• SPML is an XML-based framework being
developed by OASIS for exchanging user,
resource, and service provisioning information
among cooperating organizations. SPML is an
emerging standard that can help organizations
automate provisioning of user identities for
cloud services
• OASIS (Organization for the Advancement of
Structured Information Standards).
SPML
• If SPML is supported, software-as-a-service
(SaaS) providers can enable “just-in-time
provisioning” to create accounts for new users in
real time (as opposed to preregistering users).
• The CSP extracts attributes from the SAML token
of a new user, creates an SPML message on the
fly, and hands the request to a provisioning
service which in turn adds the user identity to the
cloud user database.
SPML use case
Administrator

Add/update/modify user

SPML Manager

SPML request SPML response


Provisioning server
(service provider)

• Provisioning service functions


• Provision accounts
• Update user data etc…
SPML use case
• In the figure, HR System of Record
(requesting authority) is an SPML web
services client interacting with the SPML
provisioning service provider at the cloud
service provider, which is responsible for
provisioning user accounts on the cloud
services (provisioning service target).
SPML use case
eXensible Access Control Markup
Language (XACML)
• XACML is an OASIS, general-purpose, XML-
based access control language for policy
management and access decisions.
• It provides an XML schema for a general
policy language which is used to protect any
kind of resource and make access decisions
over these resources.
eXensible Access Control Markup
Language (XACML)
• The XACML standard not only gives the model
of the policy language, but also proposes a
processing environment model to manage the
policies and to conclude the access decisions.
• The XACML context also specifies the
request/response protocol that the application
environment can use to communicate with the
decision point. The response to an access request
is also specified using XML.
XACML
• Most applications (web or otherwise) have a built-in
authorization module that grants or denies access to
certain application functions or resources based on
entitlements assigned to the user.
• Hence, the goal of XACML is to provide a standardized
language, a method of access control, and policy
enforcement across all applications that implement a
common authorization standard.
• These authorization decisions are based on various
authorization policies and rules centered on the user
role and job function.
• Figure 3 illustrates the interaction among
various health care participants with unique
roles (authorization privileges) accessing
sensitive patient records stored in a health care
application.
(3) PDP takes decision

(2) PEP forwards


request to PDP (4) PDP sends response/
(Policy decision decision to PEP
point)

(1) Forwards request to


policy enforcement point
XACML process
1. The health care application manages various hospital associates (the
physician, registered nurse, nurses’ aide, and health care supervisor)
accessing various elements of the patient record. This application relies
on the policy enforcement point (PEP) and forwards the request to the
PEP.
2. The PEP is actually the interface of the application environment. It
receives the access requests and evaluates them with the help of the
policy decision point (PDP). It then permits or denies access to the
resource (the health care record).
3. The PEP then sends the request to the PDP. The PDP is the main decision
point for access requests. It collects all the necessary information from
available information sources and concludes with a decision on what
access to grant. The PDP should be located in a trusted network with
strong access control policies, e.g., in a corporate trusted network
protected by a corporate firewall.
4. After evaluation, the PDP sends the XACML response to the PEP.
5. The PEP fulfills the obligations by enforcing the PDP’s authorization decision.
Open Authentication (OAuth)
• OAuth is an emerging authentication standard that
allows consumers to share their private resources
(e.g., photos, videos, contact lists, bank accounts)
stored on one CSP with another CSP without
having to disclose the authentication information
(e.g., username and password).
• OAuth is an open protocol and it was created with
the goal of enabling authorization via a secure
application programming interface (API)-a simple
and standard method for desktop, mobile, and
web applications.
• For application developers, OAuth is a method
for publishing and interacting with protected
data.
• For CSPs, OAuth provides a way for users to
access their data hosted by another provider
while protecting their account credentials
• Figure illustrates the sequence of interactions
between customer or partner web application,
Google services, and end user:
1. Customer web application contacts the Google Authorization service,
asking for a request token for one or more Google service.
2. Google verifies that the web application is registered and responds with
an unauthorized request token.
3. The web application directs the end user to a Google authorization page,
referencing the request token.
4. On the Google authorization page, the user is prompted to log into his
account (for verification) and then either grant or deny limited access to
his Google service data by the web application.
5. The user decides whether to grant or deny access to the web application.
If the user denies access, he is directed to a Google page and not back to
the web application.
6. If the user grants access, the Authorization service redirects him back to a
page designated with the web application that was registered with
Google. The redirect includes the now authorized request token.
7. The web application sends a request to the
Google Authorization service to exchange the
authorized request token for an access token.
8. Google verifies the request and returns a valid
access token.
9. The web application sends a request to the
Google service in question. The request is signed
and includes the access token.
10. If the Google service recognizes the token, it
supplies the requested data.
OAuth Flow (Example)

http://tutorials.jenkov.com/oauth2/index.html

Вам также может понравиться