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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Typical<br />

output<br />

looks<br />

like:<br />

100<br />

index.html<br />

cgi-bin//<br />

pics//<br />

The<br />

number<br />

100<br />

is<br />

a<br />

return<br />

status<br />

that<br />

indicates<br />

success.<br />

Customizing<br />

the<br />

doc<br />

root<br />

directory<br />

UNIX:<br />

To<br />

customize<br />

query_contents.sh<br />

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

your<br />

UNIX<br />

server,<br />

you<br />

might<br />

need<br />

to<br />

modify<br />

the<br />

document<br />

root<br />

directory<br />

setting.<br />

If<br />

query_contents<br />

returns<br />

an<br />

error<br />

status<br />

(a<br />

number<br />

other<br />

than<br />

100)<br />

and<br />

lists<br />

no<br />

files,<br />

examine<br />

the<br />

script<br />

and<br />

modify<br />

the<br />

$DOCROOTDIR<br />

variable,<br />

if<br />

needed,<br />

to<br />

match<br />

your<br />

server’s<br />

configuration.<br />

If<br />

the<br />

document<br />

root<br />

directory<br />

is<br />

specified<br />

correctly<br />

and<br />

the<br />

script<br />

still<br />

fails,<br />

the<br />

cgi-bin<br />

location<br />

specification<br />

might<br />

be<br />

incorrect.<br />

Examine<br />

the<br />

$FULLOBJPATH<br />

variable<br />

and<br />

modify<br />

the<br />

value<br />

assigned<br />

to<br />

it<br />

to<br />

reflect<br />

the<br />

correct<br />

cgi-bin<br />

location.<br />

Windows:<br />

To<br />

customize<br />

query_contents.exe<br />

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

your<br />

Windows<br />

server,<br />

modify<br />

the<br />

query_contents.cfg<br />

file.<br />

Additional<br />

functionality<br />

The<br />

source<br />

code<br />

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

the<br />

query_contents<br />

program<br />

(query_contents.c)<br />

is<br />

distributed<br />

royalty-free<br />

with<br />

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

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

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

Additional<br />

functionality<br />

can<br />

be<br />

added<br />

to<br />

this<br />

program<br />

to<br />

support<br />

special<br />

features<br />

of<br />

some<br />

third-party<br />

Web<br />

servers.<br />

These<br />

features<br />

include:<br />

v<br />

Directory<br />

mapping<br />

—<br />

where<br />

a<br />

sub-directory<br />

not<br />

below<br />

the<br />

document<br />

root<br />

is<br />

mapped<br />

into<br />

the<br />

Web<br />

space.<br />

v<br />

Generation<br />

of<br />

a<br />

Web<br />

space<br />

that<br />

is<br />

not<br />

file<br />

system<br />

based.<br />

This<br />

might<br />

be<br />

the<br />

case<br />

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

a<br />

database-hosted<br />

Web<br />

server.<br />

Securing<br />

query_contents<br />

The<br />

query_contents<br />

CGI<br />

program<br />

is<br />

used<br />

by<br />

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

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

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

to<br />

display<br />

junctioned<br />

Web<br />

server<br />

object<br />

spaces<br />

in<br />

the<br />

Web<br />

Portal<br />

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

It<br />

is<br />

very<br />

important<br />

to<br />

secure<br />

this<br />

file<br />

to<br />

prevent<br />

unauthorized<br />

users<br />

from<br />

running<br />

it.<br />

You<br />

must<br />

set<br />

a<br />

security<br />

policy<br />

that<br />

allows<br />

only<br />

the<br />

policy<br />

server<br />

(pdmgrd)<br />

identity<br />

to<br />

have<br />

access<br />

to<br />

the<br />

query_contents<br />

program.<br />

The<br />

following<br />

example<br />

ACL<br />

(query_contents_acl)<br />

meets<br />

this<br />

criteria:<br />

group<br />

ivmgrd-servers<br />

Tl<br />

user<br />

sec_master<br />

dbxTrlcam<br />

Use<br />

the<br />

pdadmin<br />

utility<br />

to<br />

attach<br />

this<br />

ACL<br />

to<br />

the<br />

query_contents.sh<br />

(UNIX)<br />

or<br />

query_contents.exe<br />

(Windows)<br />

object<br />

on<br />

the<br />

junctioned<br />

servers.<br />

For<br />

example<br />

(UNIX):<br />

pdadmin><br />

acl<br />

attach<br />

/<strong>WebSEAL</strong>/host/junction-name/query_contents.sh<br />

\<br />

query_contents_acl<br />

312<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!