<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hiding one datasource from PW Web</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-di-forum/21385/hiding-one-datasource-from-pw-web</link><description>I have several datasources running off the same integration server. For users working with PW Explorer, the default of letting all of them be displayed is fine. But for users accessing PW from the Web client, there are specific datasources I would not</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Re: Hiding one datasource from PW Web</title><link>https://communities.bentley.com/thread/47079?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2009 16:46:35 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:4c52a149-125a-426e-90cf-6e262614f85c</guid><dc:creator>mpalicki</dc:creator><description>Bingo! - That did it. Thanks Gary. I've never paid attention to the dropdown list on that security tab. I never thought to look any farther than where it shows &amp;quot;Client Connections&amp;quot;.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Hiding one datasource from PW Web</title><link>https://communities.bentley.com/thread/46940?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2009 03:25:07 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:285d80ea-f40f-4efb-9405-a992cf3f5a55</guid><dc:creator>Gary Cochrane</dc:creator><description>&lt;p&gt;
Hi Matt,
&lt;/p&gt;
&lt;p&gt;
In a nutshell, yes, however I would encourage you to use the PW Administrator to make the change(s), rather than just editing the DMSKRNL.CFG file manually. That will help you get the syntax right.
&lt;/p&gt;
&lt;p&gt;
To do so, right-click the datasource name in PW Admin, and open the datasource Properties dialog. Then change to the Security tab. Note that there are two options; Client connections, and Datasource list publishing. You'll want to set it to Datasource list publishing.
&lt;/p&gt;
&lt;p&gt;
Once you do, then add your deny condition for this datasource, using the web server's IP address. If you then review the datasource section in the DMSKRNL.CFG file, you will see that the requried syntax is (that was added for you):
&lt;/p&gt;
&lt;p&gt;
DsListDeny=
&lt;/p&gt;
&lt;p&gt;
rather than just Deny=, which is for the first option; client connections.
&lt;/p&gt;
&lt;p&gt;
Hope this helps,
&lt;/p&gt;
&lt;p&gt;
Gary 
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Hiding one datasource from PW Web</title><link>https://communities.bentley.com/thread/46931?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2009 02:06:07 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ad65dd1f-83f1-434f-a8db-3e9ebda3c757</guid><dc:creator>mpalicki</dc:creator><description>Hmm...so if I just put in a deny statement with the full IP address of the Web Server, that should do it in theory, right?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Hiding one datasource from PW Web</title><link>https://communities.bentley.com/thread/46910?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2009 00:53:21 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7cee9b91-9059-4490-9378-b7dc98e338d4</guid><dc:creator>Gary Cochrane</dc:creator><description>&lt;p&gt;
My understanding of this feature is that it disables the datasource from being advertised to PW Explorer clients only, not Web clients.
&lt;/p&gt;
&lt;p&gt;
Remember though that when the Web Server starts up, it will get a list of datasources&amp;nbsp;from the Integration Server, just as if it were a PW Explorer starting up. So if you have allow/deny statements in place, then those datasource (that are denied) would not show up in the Web Server pages (as seen by browsers)&amp;nbsp;at all. And that would be for all clients, not on a per-client basis.
&lt;/p&gt;
&lt;p&gt;
Again, the allow/deny statements are applied when clients start up, and the web server acts like a client when the service is started. Only difference is, the web server runs indefinitely (as opposed to PW Explorere clients), and so therefore does not get a new datasource list often.
&lt;/p&gt;
&lt;p&gt;
At least that's my take on it,
&lt;/p&gt;
&lt;p&gt;
Gary
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Hiding one datasource from PW Web</title><link>https://communities.bentley.com/thread/46905?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2009 00:34:40 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b790ffa4-1c3e-4aae-8a46-a8865da7e133</guid><dc:creator>mpalicki</dc:creator><description>&lt;p&gt;
Thanks Mike,
&lt;/p&gt;
&lt;p&gt;
So if I took your example and used something like:
&lt;/p&gt;
&lt;p&gt;
Allow=192.168.*.*&lt;br /&gt;
Deny=*.*.*.*
&lt;/p&gt;
&lt;p&gt;
would&amp;nbsp;the net effect be that it would allow everything from the 192.168 network,&amp;nbsp;and Deny everything else?&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Hiding one datasource from PW Web</title><link>https://communities.bentley.com/thread/46898?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2009 00:10:53 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:df0e5500-b58a-4907-83b2-9358b95f5b75</guid><dc:creator>Michael McCarty</dc:creator><description>&lt;p&gt;
You can use &amp;quot;Allow&amp;quot; and &amp;quot;Deny&amp;quot; statements under each datasource configuation section (e.g. &amp;quot;[db0]&amp;quot;) to control the visibility of the datasource to specific clients and/or subnets.
&lt;/p&gt;
&lt;pre&gt;
[db0]
Description=myds
InterfaceType=ODBC
Name=myds
Type=Oracle
DBUserName=dbuser
DBUserPassword=asdkfjasdklfj
DBUsrPwdDecrypt=2
&lt;strong&gt;Allow=192.168.*.*
Deny=10.10.*.*&lt;/strong&gt;
&lt;/pre&gt;
&lt;pre&gt;
&amp;nbsp;
&lt;/pre&gt;
&lt;pre&gt;
HTH
&lt;/pre&gt;
&lt;pre&gt;
&amp;nbsp;
&lt;/pre&gt;
&lt;pre&gt;
Mike
&lt;/pre&gt;
&lt;pre&gt;
&amp;nbsp;
&lt;/pre&gt;
&lt;p&gt;
&amp;nbsp; 
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>