simplify and strengthen security with oracle application server allan l haensgen senior principal...

32

Upload: percival-hart

Post on 01-Jan-2016

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112
Page 2: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Simplify and Strengthen Security with Oracle Application Server

Allan L HaensgenSenior Principal Instructor

Oracle Corporation

Session id: 40112

Page 3: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Security Risks in an Internet Environment

• Data tampering and fraud• Eavesdropping and data theft• Falsifying user identities• Password-related threats• Unauthorized access to data• Lack of accountability• Hacking

Page 4: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Addressing the Security Challenges

• Deep data protection– Multi-Layer protection through encryption,

extensive auditing, and access control

• Internet-scale security– SSL

– Proxy authentication

– Java

• Secure hosting and data exchange– Public key infrastructure

– Enterprise wide user security

Page 5: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Oracle Application Server Security Architecture

Page 6: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Application Server Security

The Oracle Application Server can be used as a client to the database and therefore you can employ the following security features:– Enterprise user security – Authentication and digital certificates – Proxy authentication – Connecting from the middle tier to the database

Page 7: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Java Authentication and Authorization Service

Java Authentication and Authorization Service (JAAS) provides key security services to the Java programmer in the following areas:– Authentication to identify users – Authorization to limit what users can do– Delegation to enable code to be run securely

Page 8: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Securing the Oracle HTTP Server Itself

The Oracle HTTP Server supports the following security schemes:– IP-based or domain name–based restriction– Basic authentication through the username and

password combination– Certificate distinguished name (DN)-based

authorization – Secure Sockets Layer (SSL) protocol

Page 9: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Oracle HTTP Server Security Modules

– mod_access is used for restriction.– mod_auth and mod_auth_anon are used for

authentication.– mod_ossl is used with SSL.

ResponseResponse

OHSOHS

AccessAccessControlControlTranslationTranslation LoggingLoggingMIMEMIME

TypeType

11 22 33 44 55

Page 10: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Host-Based Access Control

– mod_access: IP- or domain-based access control

– You can use the allow and deny directives within the <Directory> ... </Directory> <Location> ... </Location> context of your httpd.conf or .htaccess file:

allow from host host ...

deny from host host ...

Page 11: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Host-Based Access Control

– The order directive specifies the order in which the allow and deny commands are applied:

– The ordering argument can be one of the following:

order ordering

1. deny,allow

2. allow,deny

Page 12: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Host-Based Access Control

The allow from or deny from directive:

<Directory /docroot>

order deny,allow

deny from all

allow from 144.25.192.170

</Directory>

Page 13: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

User Authentication

Basic authentication is performed by the following modules:– mod_auth– mod_auth_anon

A resource can be a protected user or group-based, or both.

To access the resource, you also need to have the permission as defined by the Require directive.

Page 14: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Combining User- andHost-Based Authentication

<Location />

AuthName "Who are you"

AuthType Basic

AuthUserFile /ias/Apache/Apache/auth/password

Require valid-user

order deny,allow

deny from all

allow from hq1.us.oracle.com

Satisfy all

</Location>

Page 15: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Establishing Secure Web Sessions

The SSL protocol is a standard for secure data transmission over the Internet.

SSL involves three mechanisms:– Encryption– Authentication– Data integrity

SSL is implemented through mod_ossl.

Page 16: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

How SSL Works

Browser

2

3

Oracle9iAS

1

4

https

Public certificate

Session key

Request client certificate (opt)

Page 17: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Oracle Wallet Manager

Oracle Wallet Manager is a stand-alone Java application for:– Generating a public/private key pair and creating

a certificate request for submission to a CA.– Installing a certificate for the entity. – Configuring trusted certificates for the entity.– Uploading or downloading a wallet to or from an

LDAP directory such as Oracle Internet Directory.

– Importing wallets and exporting wallets.

Page 18: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Creating a Certificate Request

Page 19: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Exporting a Certificate Request

Page 20: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Oracle HTTP Server with SSL Enabled Oracle HTTP Server is already SSL enabled

after the installation:– SSL is enabled in opmn.xml

– There is no specific command to start the Oracle HTTP Server with SSL enabled:

<ohs> <start-mode mode="ssl"/></ohs>

$> cd $ORACLE_HOME/dcm/bin

$> dcmctl start -ct ohs

Page 21: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

What is Single Sign-On?

Oracle Application Server Single Sign-On (SSO) is a service that enables: – Authentication to multiple applications in an

enterprise by entering a username and password only once

– Centralized administration of username and password combinations for all users in an enterprise

Page 22: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Single Sign-On

SSO technology utilizes :– mod_osso: An HTTP module that provides

single sign-on authentication to Oracle9iAS applications

– Oracle Internet Directory: A Lightweight Directory Access Protocol (LDAP) server using an Oracle9i database as its information store.

– Oracle Wallet Manger. A container utility that stores and manages X.509 certificates and trusted certificates

Page 23: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Single Sign-On

Oracle9iAS SSO technology provides:– Public key infrastructure (PKI) support when

using Oracle Internet Directory– Multitier integration

Page 24: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Authenticating Partner Applications

Oracle Internet DirectoryOracle Internet DirectorySSO ServerSSO Server

Partner ApplicationPartner ApplicationOracle Oracle

HTTP ServerHTTP Server

11

66

7

44

55

3322

77

Page 25: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Administering Users With the Delegated Administration Service (DAS)http://<hostname>:<port>/oiddas

Page 26: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Lightweight DirectoryAccess Protocol (LDAP)

LDAP offers the following features:– Simplified ISO X.500 Directory Access Protocol – Lightweight, browser-friendly client implementation– Protocol standard defined and maintained by the

Internet Engineering Task Force (IETF)– Need for interoperability is driving rapid adoption in the

IT community

Page 27: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Oracle Internet Directory (OID)

OID is:– Compliant with LDAP, version 3– Implemented as an Oracle9i application

OID includes:– Oracle Directory Server– Oracle Directory Replication Server– Oracle Directory Manager– Command-line tools– Delegated Administration Service (DAS)

Page 28: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

OID Architectural Overview

Directoryadministration

OID

Oracledatabase

Oracle Netconnections

LDAP over SSL

OIDclients

LDAP

Page 29: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Benefits of OID

OID provides:– Delegated Administration Service (DAS)– Failover in cluster configurations– Support for Oracle Real Application Clusters– Oracle Directory Integration platform, to

synchronize with other enterprise repositories including third-party LDAP directories

– Password policy management

Page 30: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

Identity Management

Centralizes and automates many application user management functions

Faster deployments Brings OID, SSO, DAS, and other security

components into one management system

Page 31: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112

AQ&Q U E S T I O N SQ U E S T I O N S

A N S W E R SA N S W E R S

Page 32: Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id: 40112