86 lines
5.0 KiB
HTML
86 lines
5.0 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="reference" />
|
||
|
<meta name="DC.Title" content="Programs that run under adopted authority for a distributed relational database" />
|
||
|
<meta name="abstract" content="A distributed relational database program can run under adopted authority, which means the user adopts the program owner's authority to objects used by the program while running the program. When a program is created using the *SQL precompiler option for naming, the program runs under the program owner's user profile." />
|
||
|
<meta name="description" content="A distributed relational database program can run under adopted authority, which means the user adopts the program owner's authority to objects used by the program while running the program. When a program is created using the *SQL precompiler option for naming, the program runs under the program owner's user profile." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbal1secure.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/dsppgmadp.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rbal1adopt" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Programs that run under adopted authority for a distributed relational
|
||
|
database</title>
|
||
|
</head>
|
||
|
<body id="rbal1adopt"><a name="rbal1adopt"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Programs that run under adopted authority for a distributed relational
|
||
|
database</h1>
|
||
|
<div><p>A distributed relational database program can run under adopted
|
||
|
authority, which means the user adopts the program owner's authority to objects
|
||
|
used by the program while running the program. When a program is created using
|
||
|
the *SQL precompiler option for naming, the program runs under the program
|
||
|
owner's user profile.</p>
|
||
|
<div class="section"><p>An SQL package from an unlike system always adopts the package
|
||
|
owner's authority for all static SQL statements in the package. An SQL package
|
||
|
created on an <span class="keyword">iSeries™ server</span> using
|
||
|
the CRTSQL<em>xxx</em> command with OPTION(*SQL) specified, also adopts the
|
||
|
package owner's authority for all static SQL statements in the package.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>A distributed relational database administrator can check security
|
||
|
exposure on application servers by using the <span class="cmdname">Display Programs that
|
||
|
Adopt (DSPPGMADP)</span> command. The <span class="cmdname">DSPPGMADP</span> command
|
||
|
displays the programs and SQL packages that use a specified user profile,
|
||
|
as shown here. You can also send the results of the command to a printer or
|
||
|
to an output file. </p>
|
||
|
<pre class="screen">Display Programs That Adopt
|
||
|
|
||
|
User profile . . . . . . . : MPSUP
|
||
|
|
||
|
Object Library Type Attribute Text
|
||
|
INVENT SPIFFY *PGM Adopting program
|
||
|
CLIENT1 SPIFFY *PGM Adopting program
|
||
|
TESTINV TEST *PGM CLP Test inventory pgm
|
||
|
INVENT1 SPIFFY *SQLPKG SQL package
|
||
|
CLIENT1 SPIFFY *SQLPKG SQL package
|
||
|
TESTINV SPIFFY *SQLPKG SQL package
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Bottom
|
||
|
Press Enter to continue
|
||
|
|
||
|
F3=Exit F12=Cancel F17=Top F18=Bottom
|
||
|
(C) COPYRIGHT IBM CORP. 1980, 1991.</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1secure.htm" title="The iSeries server has security elements built into the operating system to limit access to the data resources of an application server. Security options range from simple physical security to full password security coupled with authorization to commands and data objects.">Security</a></div>
|
||
|
</div>
|
||
|
<div class="relref"><strong>Related reference</strong><br />
|
||
|
<div><a href="../cl/dsppgmadp.htm">Display Programs that Adopt (DSPPGMADP) command</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|