<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: how to prevent users from pc to use odbc</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-prevent-users-from-pc-to-use-odbc/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-prevent-users-from-pc-to-use-odbc/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 04:33:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: woodengineer</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-prevent-users-from-pc-to-use-odbc/#comment-69975</link>
		<dc:creator>woodengineer</dc:creator>
		<pubDate>Wed, 04 Nov 2009 19:38:11 +0000</pubDate>
		<guid isPermaLink="false">#comment-69975</guid>
		<description><![CDATA[We had exactly the same situation where we wanted to block all users from using ODBC to retrieve data from payroll files.  We tried blocking functions via iNav but were not happy with the results.  

We settled on protecting our data by simply using good ol&#039; iSeries object authority on the payroll library.  The group profile feature simplified the task and works very well.]]></description>
		<content:encoded><![CDATA[<p>We had exactly the same situation where we wanted to block all users from using ODBC to retrieve data from payroll files.  We tried blocking functions via iNav but were not happy with the results.  </p>
<p>We settled on protecting our data by simply using good ol&#8217; iSeries object authority on the payroll library.  The group profile feature simplified the task and works very well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teandy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-prevent-users-from-pc-to-use-odbc/#comment-69967</link>
		<dc:creator>teandy</dc:creator>
		<pubDate>Wed, 04 Nov 2009 17:38:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-69967</guid>
		<description><![CDATA[Check out this thread:

 &lt;a href=&quot;http://itknowledgeexchange.techtarget.com/itanswers/block-winsql/?asrc=EM_UGT_9808457&amp;uid=11161&quot; title=&quot;http://itknowledgeexchange.techtarget.com/itanswers/block-winsql/?asrc=EM_UGT_9808457&amp;uid=11161&quot; target=&quot;_blank&quot;&gt;http://itknowledgeexchange.techtarget.co…&lt;/a&gt;

I’ve tried three different times to post the code of an exit program I have that does this and all three times the post has failed to come through. Let me know if you want it and I will email it to you.]]></description>
		<content:encoded><![CDATA[<p>Check out this thread:</p>
<p> &lt;a href=&#8221;http://itknowledgeexchange.techtarget.com/itanswers/block-winsql/?asrc=EM_UGT_9808457&amp;uid=11161&#8243; title=&#8221;http://itknowledgeexchange.techtarget.com/itanswers/block-winsql/?asrc=EM_UGT_9808457&amp;uid=11161&#8243; target=&#8221;_blank&#8221;&gt;<a href="http://itknowledgeexchange.techtarget.co…&lt;/a&#038;gt" rel="nofollow">http://itknowledgeexchange.techtarget.co…&lt;/a&#038;gt</a>;</p>
<p>I’ve tried three different times to post the code of an exit program I have that does this and all three times the post has failed to come through. Let me know if you want it and I will email it to you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teandy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-prevent-users-from-pc-to-use-odbc/#comment-69957</link>
		<dc:creator>teandy</dc:creator>
		<pubDate>Wed, 04 Nov 2009 16:37:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-69957</guid>
		<description><![CDATA[Do you want to stop traffice both ways?  In other words, do you want to stop your users from uploading and downloading data? 

Here is an example of an exit program I wrote to do stop ODBC uploads.  You should be able to modify it to stop downloads as well.

&lt;pre&gt;

100       **********************************************************************                                    02/15/08
    200       *  SET COMPILER OPTIONS                                                                                   02/15/08
    300       **********************************************************************                                    02/15/08
    400      HOPTION(*NODEBUGIO:*SRCSTMT)                                                                               02/15/08
    500       **********************************************************************                                    02/15/08
    600       *  PROGRAM NAME: ODBCEXITR                                                                                10/01/08
    800       *  CREATION DATE: 07/23/08                                                                                07/23/08
    900       *  PURPOSE OF PROGRAM: ODBC EXIT PROGAM TO PREVENT FILE UPDATES.                                          10/01/08
   1000       **********************************************************************                                    06/19/07
   1100       * FILES USED BY PROGRAM.                                                                                  06/19/07
   1200       **********************************************************************                                    06/19/07
   1300      FODBCEXITPFIF A E           K DISK                                                                         09/30/08
   1400       **********************************************************************                                    07/23/08
   1500       *  ENTRY PARMS.                                                                                           07/23/08
   1600       **********************************************************************                                    07/23/08
   1700      D  ENTRYPARMS     PR                  ExtPgm(&#039;ODBCEXITR2&#039;)                                                 10/02/08
   1800      D  REQUEST_STATUS...                                                                                       10/01/08
   1900      D                                1                                                                         10/01/08
   2000      D  REQUEST_STRING...                                                                                       10/01/08
   2100      D                             1024                                                                         10/10/08
   2200                                                                                                                 07/23/08
   2300      D  ENTRYPARMS     PI                                                                                       07/23/08
   2400      D  REQUEST_STATUS...                                                                                       10/01/08
   2500      D                                1                                                                         10/01/08
   2600      D  REQUEST_STRING...                                                                                       10/01/08
   2700      D                             1024                                                                         10/10/08
   2800                                                                                                                 07/23/08
   2900       **********************************************************************                                    07/23/08
   3000       *  FIELD DEFINITIONS.                                                                                     07/23/08
   3100       **********************************************************************                                    07/23/08
   3200      D  USER_PROFILE   S             10    INZ(*BLANKS)                                                         10/02/08
   3300      D  SERVER_ID      S             10    INZ(*BLANKS)                                                         10/02/08
   3400      D  FORMAT_NAME    S              8    INZ(*BLANKS)                                                         10/02/08
   3500      D  FUNCTION       S              4    INZ(*BLANKS)                                                         10/02/08
   3600      D  CODETYPE       S              4    INZ(*BLANKS)                                                         10/07/08
   3700      D  FILE_CHANGE    S              6    INZ(*BLANKS)                                                         10/10/08
   5900       **********************************************************************                                    10/02/08
   6000       *  DATA STRUCTURE FOR REQUEST STRING                                                                      10/02/08
   6100       **********************************************************************                                    10/02/08
   6200      D                 DS                  INZ                                                                  10/02/08
   6300      D REQUEST                 1    364                                                                         10/10/08
   6400      D  USER                   1     10                                                                         10/02/08
   6500      D  SRVID                 11     20                                                                         10/02/08
   6600      D  FORMAT                21     28                                                                         10/02/08
   6700      D  FUNC                  29     32                                                                         10/02/08
   6800      D  FILNAME               33    161                                                                         10/10/08
   6900      D  LIBNAME              162    171                                                                         10/10/08
   7000      D  MEMBERNAME           172    181                                                                         10/10/08
   7100      D  AUTHORITY            182    191                                                                         10/10/08
   7200      D  Based_on_file_name...                                                                                   10/10/08
   7300      D                       192    319                                                                         10/10/08
   7400      D  Based_on_library_name...                                                                                10/10/08
   7500      D                       320    329                                                                         10/10/08
   7600      D  Override_file_name...                                                                                   10/10/08
   7700      D                       330    339                                                                         10/10/08
   7800      D  Override_library_name...                                                                                10/10/08
   7900      D                       340    349                                                                         10/10/08
   8000      D  Override_member_name...                                                                                 10/10/08
   8100      D                       350    364                                                                         10/10/08
   8200                                                                                                                 10/02/08
   8300        // ******************************************************************                                    06/19/07
   8400        // *  START FREE FORM CALCS.                                                                             06/19/07
   8500        // ******************************************************************                                    06/19/07
   8600                                                                                                                 06/19/07
   8700       /FREE                                                                                                     06/19/07
   8800                                                                                                                 06/19/07
   8900                                                                                                                 07/23/08
   9000        // ******************************************************************                                    07/23/08
   9100        // * WRITE REQUEST TO FILE.                                                                              10/01/08
   9200        // ******************************************************************                                    07/23/08
   9300                                                                                                                 07/23/08
   9400         REQUEST_STATUS = &#039;1&#039;;                                                                                   10/02/08
   9500                                                                                                                 10/02/08
   9600         ODBSTATUS = REQUEST_STATUS;                                                                             10/01/08
   9700         ODBREQUEST = REQUEST_STRING;                                                                            10/01/08
   9800         REQUEST = REQUEST_STRING;                                                                               10/02/08
   9900         ODBUSER = USER;                                                                                         10/02/08
  10000         ODBSRVID = SRVID;                                                                                       10/02/08
  10100         ODBFORMAT= FORMAT;                                                                                      10/02/08
  10200         ODBFUNC = FUNC;                                                                                         10/02/08

  10700        // ******************************************************************                                    10/07/09
  10800        // * IF THE REQUEST IS FROM ANYONE EXCEPT FAST FAX OR B&amp;L&#039;S MPC.                                         10/07/09
  10900        // ******************************************************************                                    10/07/09
  11000                                                                                                                 10/07/09
  11100         IF ODBUSER &lt;&gt; &#039;FFXSYS&#039; AND                                                                              10/07/09
  11200            ODBUSER &lt;&gt; &#039;MPC&#039;;                                                                                    10/07/09
  12300                                                                                                                 10/10/08
  12400        // ******************************************************************                                    10/07/09
  12500        // * CHECK THE REQUEST STATUS.                                                                           10/07/09
  12600        // * IF THIS IS AN UPDATE OR INSERT (ADD A RECORD) REQUEST, CHANGE                                       10/07/09
  12700        // * THE STATUS TO 0. THIS WILL DENY THE REQUEST.                                                        10/07/09
  12800        // *                                                                                                     10/07/09
  12900        // * WHEN THE ODBC DRIVER SEES THAT THE REQUEST IS DENIED, IT WILL                                       10/07/09
  13000        // * KILL THE JOB.                                                                                       10/07/09
  13100        // ******************************************************************                                    10/07/09
  13200                                                                                                                 10/07/09
  13300           FILE_CHANGE = %SUBST(ODBREQUEST : 240 : 6);                                                           10/10/08
  13400                                                                                                                 10/10/08
  13500           IF FILE_CHANGE = &#039;UPDATE&#039; OR                                                                          10/10/08
  13600              FILE_CHANGE = &#039;INSERT&#039;;                                                                            10/10/08
  13700                                                                                                                 10/10/08
  13800              REQUEST_STATUS = &#039;0&#039;;                                                                              10/10/08
  13900                                                                                                                 10/10/08
  14000           ENDIF;                                                                                                10/10/08
  14100                                                                                                                 10/10/08
  14200                                                                                                                 10/10/08
  34500                                                                                                                 07/23/08
  34600         *INLR = *ON;                                                                                            07/23/08
  34700         RETURN;                                                                                                 07/23/08
  34800                                                                                                                 07/23/08
  34900       /END-FREE                                                                                                 06/19/07
  35000                                                                                                                 06/19/07

&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>Do you want to stop traffice both ways?  In other words, do you want to stop your users from uploading and downloading data? </p>
<p>Here is an example of an exit program I wrote to do stop ODBC uploads.  You should be able to modify it to stop downloads as well.</p>
<pre>

100       **********************************************************************                                    02/15/08
    200       *  SET COMPILER OPTIONS                                                                                   02/15/08
    300       **********************************************************************                                    02/15/08
    400      HOPTION(*NODEBUGIO:*SRCSTMT)                                                                               02/15/08
    500       **********************************************************************                                    02/15/08
    600       *  PROGRAM NAME: ODBCEXITR                                                                                10/01/08
    800       *  CREATION DATE: 07/23/08                                                                                07/23/08
    900       *  PURPOSE OF PROGRAM: ODBC EXIT PROGAM TO PREVENT FILE UPDATES.                                          10/01/08
   1000       **********************************************************************                                    06/19/07
   1100       * FILES USED BY PROGRAM.                                                                                  06/19/07
   1200       **********************************************************************                                    06/19/07
   1300      FODBCEXITPFIF A E           K DISK                                                                         09/30/08
   1400       **********************************************************************                                    07/23/08
   1500       *  ENTRY PARMS.                                                                                           07/23/08
   1600       **********************************************************************                                    07/23/08
   1700      D  ENTRYPARMS     PR                  ExtPgm('ODBCEXITR2')                                                 10/02/08
   1800      D  REQUEST_STATUS...                                                                                       10/01/08
   1900      D                                1                                                                         10/01/08
   2000      D  REQUEST_STRING...                                                                                       10/01/08
   2100      D                             1024                                                                         10/10/08
   2200                                                                                                                 07/23/08
   2300      D  ENTRYPARMS     PI                                                                                       07/23/08
   2400      D  REQUEST_STATUS...                                                                                       10/01/08
   2500      D                                1                                                                         10/01/08
   2600      D  REQUEST_STRING...                                                                                       10/01/08
   2700      D                             1024                                                                         10/10/08
   2800                                                                                                                 07/23/08
   2900       **********************************************************************                                    07/23/08
   3000       *  FIELD DEFINITIONS.                                                                                     07/23/08
   3100       **********************************************************************                                    07/23/08
   3200      D  USER_PROFILE   S             10    INZ(*BLANKS)                                                         10/02/08
   3300      D  SERVER_ID      S             10    INZ(*BLANKS)                                                         10/02/08
   3400      D  FORMAT_NAME    S              8    INZ(*BLANKS)                                                         10/02/08
   3500      D  FUNCTION       S              4    INZ(*BLANKS)                                                         10/02/08
   3600      D  CODETYPE       S              4    INZ(*BLANKS)                                                         10/07/08
   3700      D  FILE_CHANGE    S              6    INZ(*BLANKS)                                                         10/10/08
   5900       **********************************************************************                                    10/02/08
   6000       *  DATA STRUCTURE FOR REQUEST STRING                                                                      10/02/08
   6100       **********************************************************************                                    10/02/08
   6200      D                 DS                  INZ                                                                  10/02/08
   6300      D REQUEST                 1    364                                                                         10/10/08
   6400      D  USER                   1     10                                                                         10/02/08
   6500      D  SRVID                 11     20                                                                         10/02/08
   6600      D  FORMAT                21     28                                                                         10/02/08
   6700      D  FUNC                  29     32                                                                         10/02/08
   6800      D  FILNAME               33    161                                                                         10/10/08
   6900      D  LIBNAME              162    171                                                                         10/10/08
   7000      D  MEMBERNAME           172    181                                                                         10/10/08
   7100      D  AUTHORITY            182    191                                                                         10/10/08
   7200      D  Based_on_file_name...                                                                                   10/10/08
   7300      D                       192    319                                                                         10/10/08
   7400      D  Based_on_library_name...                                                                                10/10/08
   7500      D                       320    329                                                                         10/10/08
   7600      D  Override_file_name...                                                                                   10/10/08
   7700      D                       330    339                                                                         10/10/08
   7800      D  Override_library_name...                                                                                10/10/08
   7900      D                       340    349                                                                         10/10/08
   8000      D  Override_member_name...                                                                                 10/10/08
   8100      D                       350    364                                                                         10/10/08
   8200                                                                                                                 10/02/08
   8300        // ******************************************************************                                    06/19/07
   8400        // *  START FREE FORM CALCS.                                                                             06/19/07
   8500        // ******************************************************************                                    06/19/07
   8600                                                                                                                 06/19/07
   8700       /FREE                                                                                                     06/19/07
   8800                                                                                                                 06/19/07
   8900                                                                                                                 07/23/08
   9000        // ******************************************************************                                    07/23/08
   9100        // * WRITE REQUEST TO FILE.                                                                              10/01/08
   9200        // ******************************************************************                                    07/23/08
   9300                                                                                                                 07/23/08
   9400         REQUEST_STATUS = '1';                                                                                   10/02/08
   9500                                                                                                                 10/02/08
   9600         ODBSTATUS = REQUEST_STATUS;                                                                             10/01/08
   9700         ODBREQUEST = REQUEST_STRING;                                                                            10/01/08
   9800         REQUEST = REQUEST_STRING;                                                                               10/02/08
   9900         ODBUSER = USER;                                                                                         10/02/08
  10000         ODBSRVID = SRVID;                                                                                       10/02/08
  10100         ODBFORMAT= FORMAT;                                                                                      10/02/08
  10200         ODBFUNC = FUNC;                                                                                         10/02/08

  10700        // ******************************************************************                                    10/07/09
  10800        // * IF THE REQUEST IS FROM ANYONE EXCEPT FAST FAX OR B&amp;L'S MPC.                                         10/07/09
  10900        // ******************************************************************                                    10/07/09
  11000                                                                                                                 10/07/09
  11100         IF ODBUSER &lt;&gt; 'FFXSYS' AND                                                                              10/07/09
  11200            ODBUSER &lt;&gt; 'MPC';                                                                                    10/07/09
  12300                                                                                                                 10/10/08
  12400        // ******************************************************************                                    10/07/09
  12500        // * CHECK THE REQUEST STATUS.                                                                           10/07/09
  12600        // * IF THIS IS AN UPDATE OR INSERT (ADD A RECORD) REQUEST, CHANGE                                       10/07/09
  12700        // * THE STATUS TO 0. THIS WILL DENY THE REQUEST.                                                        10/07/09
  12800        // *                                                                                                     10/07/09
  12900        // * WHEN THE ODBC DRIVER SEES THAT THE REQUEST IS DENIED, IT WILL                                       10/07/09
  13000        // * KILL THE JOB.                                                                                       10/07/09
  13100        // ******************************************************************                                    10/07/09
  13200                                                                                                                 10/07/09
  13300           FILE_CHANGE = %SUBST(ODBREQUEST : 240 : 6);                                                           10/10/08
  13400                                                                                                                 10/10/08
  13500           IF FILE_CHANGE = 'UPDATE' OR                                                                          10/10/08
  13600              FILE_CHANGE = 'INSERT';                                                                            10/10/08
  13700                                                                                                                 10/10/08
  13800              REQUEST_STATUS = '0';                                                                              10/10/08
  13900                                                                                                                 10/10/08
  14000           ENDIF;                                                                                                10/10/08
  14100                                                                                                                 10/10/08
  14200                                                                                                                 10/10/08
  34500                                                                                                                 07/23/08
  34600         *INLR = *ON;                                                                                            07/23/08
  34700         RETURN;                                                                                                 07/23/08
  34800                                                                                                                 07/23/08
  34900       /END-FREE                                                                                                 06/19/07
  35000                                                                                                                 06/19/07

</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-prevent-users-from-pc-to-use-odbc/#comment-69906</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 03 Nov 2009 23:15:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-69906</guid>
		<description><![CDATA[The iSeries Navigator &#039;Application Administration&#039; option can be a good one. It does require some understanding, especially for areas such as &quot;ODBC&quot;.

&lt;b&gt;Note that&lt;/b&gt; System i Access &#039;Application Administration&#039; function controls for &quot;ODBC&quot; are intended only for the System i Access ODBC driver. AFAIK, other vendor&#039;s drivers are not required to follow the guideline established by the related function restriction. The &#039;Application Administration&#039; feature of System i Navigator should be viewed as an example of how the system&#039;s function usage facility can be used rather than as a true substitute for proper security controls.

Tom]]></description>
		<content:encoded><![CDATA[<p>The iSeries Navigator &#8216;Application Administration&#8217; option can be a good one. It does require some understanding, especially for areas such as &#8220;ODBC&#8221;.</p>
<p><b>Note that</b> System i Access &#8216;Application Administration&#8217; function controls for &#8220;ODBC&#8221; are intended only for the System i Access ODBC driver. AFAIK, other vendor&#8217;s drivers are not required to follow the guideline established by the related function restriction. The &#8216;Application Administration&#8217; feature of System i Navigator should be viewed as an example of how the system&#8217;s function usage facility can be used rather than as a true substitute for proper security controls.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/8 queries in 0.033 seconds using memcached
Object Caching 311/312 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 06:15:35 -->