10.02.2013 Views

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Object<br />

Space<br />

Entry<br />

URL<br />

Template<br />

/ows/sales/bksale<br />

/ows/db-apps/owa/book.sales*<br />

/ows/sales/general<br />

/ows/db-apps/owa/*<br />

Note<br />

that<br />

if<br />

the<br />

mapping<br />

entries<br />

were<br />

in<br />

the<br />

reverse<br />

order,<br />

all<br />

stored<br />

procedures<br />

in<br />

the<br />

/ows/db-apps/owa<br />

directory<br />

would<br />

map<br />

to<br />

the<br />

/ows/sales/general<br />

object.<br />

This<br />

could<br />

lead<br />

to<br />

possible<br />

breaches<br />

of<br />

security,<br />

due<br />

to<br />

this<br />

incorrect<br />

object<br />

space<br />

resolution.<br />

When<br />

you<br />

map<br />

a<br />

URL<br />

regular<br />

expression<br />

to<br />

an<br />

object<br />

space<br />

entry,<br />

the<br />

URL<br />

<strong>for</strong>mat<br />

should<br />

take<br />

on<br />

the<br />

<strong>for</strong>mat<br />

as<br />

produced<br />

from<br />

the<br />

GET<br />

method<br />

—<br />

regardless<br />

of<br />

whether<br />

the<br />

POST<br />

or<br />

GET<br />

method<br />

is<br />

being<br />

used.<br />

In<br />

the<br />

GET<br />

method<br />

of<br />

data<br />

transmission,<br />

the<br />

dynamic<br />

data<br />

(such<br />

as<br />

the<br />

data<br />

supplied<br />

by<br />

a<br />

user<br />

in<br />

a<br />

<strong>for</strong>m)<br />

is<br />

appended<br />

to<br />

the<br />

URL.<br />

In<br />

the<br />

POST<br />

method<br />

of<br />

data<br />

transmission,<br />

the<br />

dynamic<br />

data<br />

is<br />

included<br />

in<br />

the<br />

body<br />

of<br />

the<br />

request.<br />

ACL<br />

and<br />

POP<br />

Evaluation<br />

As<br />

soon<br />

as<br />

the<br />

dynamic<br />

URL<br />

has<br />

been<br />

resolved<br />

to<br />

an<br />

object<br />

space<br />

entry,<br />

the<br />

standard<br />

ACL/POP<br />

inheritance<br />

model<br />

is<br />

used<br />

to<br />

determine<br />

if<br />

the<br />

request<br />

should<br />

be<br />

processed<br />

or<br />

<strong>for</strong>bidden<br />

(due<br />

to<br />

insufficient<br />

privilege).<br />

Configuring<br />

limitations<br />

on<br />

POST<br />

requests<br />

The<br />

content<br />

of<br />

a<br />

POST<br />

request<br />

is<br />

contained<br />

in<br />

the<br />

body<br />

of<br />

the<br />

request.<br />

In<br />

addition,<br />

a<br />

POST<br />

request<br />

contains<br />

the<br />

browser-determined<br />

length<br />

of<br />

this<br />

content<br />

and<br />

lists<br />

the<br />

value<br />

in<br />

bytes.<br />

request-body-max-read<br />

The<br />

request-body-max-read<br />

parameter<br />

in<br />

the<br />

[server]<br />

stanza<br />

of<br />

the<br />

<strong>WebSEAL</strong><br />

configuration<br />

file<br />

limits<br />

the<br />

impact<br />

of<br />

large<br />

POST<br />

requests<br />

on<br />

<strong>WebSEAL</strong><br />

by<br />

specifying<br />

the<br />

maximum<br />

number<br />

of<br />

bytes<br />

to<br />

read<br />

in<br />

as<br />

content<br />

from<br />

the<br />

body<br />

of<br />

POST<br />

requests.<br />

The<br />

content<br />

read<br />

in<br />

by<br />

<strong>WebSEAL</strong><br />

is<br />

subject<br />

to<br />

authorization<br />

checks,<br />

as<br />

described<br />

earlier<br />

in<br />

this<br />

section.<br />

The<br />

request-body-max-read<br />

parameter<br />

value<br />

is<br />

considered<br />

when<br />

the<br />

POST<br />

request<br />

is<br />

used<br />

<strong>for</strong><br />

dynamic<br />

URL<br />

processing<br />

or<br />

Forms<br />

authentication.<br />

The<br />

default<br />

value<br />

is<br />

4096<br />

bytes:<br />

[server]<br />

request-body-max-read<br />

=<br />

4096<br />

Note<br />

that<br />

this<br />

parameter<br />

does<br />

not<br />

limit<br />

the<br />

maximum<br />

POST<br />

content<br />

size<br />

(which<br />

is<br />

unlimited).<br />

The<br />

parameter<br />

protects<br />

<strong>WebSEAL</strong><br />

from<br />

processing<br />

a<br />

POST<br />

request<br />

of<br />

unreasonable<br />

size.<br />

For<br />

more<br />

in<strong>for</strong>mation<br />

on<br />

modifying<br />

request-body-max-read,<br />

see<br />

“Modifying<br />

request-body-max-read”<br />

on<br />

page<br />

202.<br />

dynurl-allow-large-posts<br />

Although<br />

the<br />

request-body-max-read<br />

parameter<br />

limits<br />

the<br />

amount<br />

of<br />

POST<br />

content<br />

read<br />

and<br />

processed<br />

by<br />

<strong>WebSEAL</strong>,<br />

it<br />

does<br />

not<br />

prevent<br />

the<br />

request,<br />

in<br />

its<br />

entirety,<br />

from<br />

being<br />

passed<br />

through<br />

to<br />

the<br />

application<br />

server.<br />

In<br />

this<br />

scenario,<br />

350<br />

<strong>IBM</strong><br />

<strong>Tivoli</strong><br />

<strong>Access</strong><br />

<strong>Manager</strong><br />

<strong>for</strong><br />

e-<strong>business</strong>:<br />

<strong>WebSEAL</strong><br />

<strong>Administration</strong><br />

Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!