106 lines
5.7 KiB
HTML
106 lines
5.7 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="concept" />
|
||
|
<meta name="DC.Title" content="ODBC policy: Prevent use of named data sources" />
|
||
|
<meta name="abstract" content="Use this policy to restrict the use of named data sources when using iSeries Access for Windows ODBC support." />
|
||
|
<meta name="description" content="Use this policy to restrict the use of named data sources when using iSeries Access for Windows ODBC support." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiiodbcfunction.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiiodbcprvntproggensrc.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiiodbcprvntproggensrc.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="rzaiiodbcprvntnameddatasrc" />
|
||
|
<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>ODBC policy: Prevent use of named data sources</title>
|
||
|
</head>
|
||
|
<body id="rzaiiodbcprvntnameddatasrc"><a name="rzaiiodbcprvntnameddatasrc"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">ODBC policy: Prevent use of named data sources</h1>
|
||
|
<div><p>Use this policy to restrict the use of named data sources when
|
||
|
using iSeries™ Access
|
||
|
for Windows<sup>®</sup> ODBC
|
||
|
support.</p>
|
||
|
<p>A "named data source" is one that:</p>
|
||
|
<ul><li>has been created by the user or a program and given a specific name, and</li>
|
||
|
<li>is specified using the <span class="uicontrol">DSN</span> option when connecting.</li>
|
||
|
</ul>
|
||
|
<p>A user may create a named data source using the iSeries Access for Windows ODBC
|
||
|
Administration program. A program may create a named data source too -- by
|
||
|
calling, for example, SQLCreateDataSource.</p>
|
||
|
<p>A program may create an ODBC connection by calling SQLDriverConnect. If
|
||
|
the DSN option is used, it specifies a named data source to use. If the FILEDSN
|
||
|
option is used, it specifies the name of a file that contains connection options.
|
||
|
The file name is not a data source name, hence use of FILEDSN is not use of
|
||
|
a named data source.</p>
|
||
|
<p>The restriction options for this policy are the following:</p>
|
||
|
<ul><li><span class="uicontrol">Allow all:</span> All named data sources may be used.</li>
|
||
|
<li><span class="uicontrol">Allow listed sources:</span> Only those sources specifically
|
||
|
listed in this policy may be used. To view or change the list, click the Show
|
||
|
button.</li>
|
||
|
<li><span class="uicontrol">Prevent using named data sources:</span> No named data
|
||
|
sources may be used.</li>
|
||
|
</ul>
|
||
|
<p>If when connecting no named data source is specified, the data source used
|
||
|
will be a temporary one, called a "program generated data source." The use
|
||
|
of program generated data sources can be restricted using the Prevent use
|
||
|
of program generated data sources policy.</p>
|
||
|
<p>This policy is an override of <span class="uicontrol">machine setting enabled</span>.</p>
|
||
|
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th colspan="3" valign="top" id="d0e73">Policy Type</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td rowspan="2" valign="top" headers="d0e73 ">Restriction</td>
|
||
|
<td colspan="2" valign="top" headers="d0e73 ">Configuration</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e73 ">Suggestion</td>
|
||
|
<td valign="top" headers="d0e73 ">Mandate</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e73 ">X</td>
|
||
|
<td valign="top" headers="d0e73 "> </td>
|
||
|
<td valign="top" headers="d0e73 "> </td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th colspan="4" valign="top" id="d0e101">Policy Scope</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" headers="d0e101 ">Per PC (all users)</td>
|
||
|
<td valign="top" headers="d0e101 ">Per user</td>
|
||
|
<td valign="top" headers="d0e101 ">Per user setting (May override machine setting)</td>
|
||
|
<td valign="top" headers="d0e101 ">Per iSeries connection</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" headers="d0e101 ">X</td>
|
||
|
<td valign="top" headers="d0e101 ">X</td>
|
||
|
<td valign="top" headers="d0e101 "> </td>
|
||
|
<td valign="top" headers="d0e101 ">X</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiiodbcfunction.htm" title="Control ODBC functions by policies.">Policies by function: ODBC</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="rzaiiodbcprvntproggensrc.htm" title="Use this policy to restrict the use of program generated data sources when using iSeries Access for Windows ODBC support.">ODBC policy: Prevent use of program generated data sources</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|