<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to hide the infopath code from the users</title><link>https://www.infopathdev.com:443/forums/thread/78808.aspx</link><pubDate>Mon, 21 May 2012 07:21:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78808</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78808.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78808</wfw:commentRss><description>You shouldn&amp;#39;t replace the data connections with code.&amp;nbsp;You&amp;#39;re likely to run into form trust issues if you do that.&amp;nbsp; One thing that I think you can do is modify the form manifest file to change out the values that you want to conceal from your users, e.g. change the web service URLs to something in the same domain that doesn&amp;#39;t go to an actual place.&amp;nbsp; Then in the form load event, you can use code to set the data connection properties to the correct values so that they are good to go whenever you query them.&amp;nbsp; Seems a bit like overkill, but if you must do it, I think you have that option.</description></item><item><title>Re: How to hide the infopath code from the users</title><link>https://www.infopathdev.com:443/forums/thread/78802.aspx</link><pubDate>Sun, 20 May 2012 08:50:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78802</guid><dc:creator>andersbak</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78802.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78802</wfw:commentRss><description>&lt;p&gt;Well, the big issue is the &amp;quot;standard&amp;quot; dataconnection you set up in the infopath client when developing the form.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As far as we can tell this would be open to the users if the open the infopath in the&amp;nbsp;client afterwards.&amp;nbsp;We have around 20 users with the infopath client installed. These users develop infopath forms themselves for their own business units. The setup in our company is that dataconnections are developed by IT. So if a form needs to connect to data (webservice or directly on the&amp;nbsp;database) the form is done by IT. If we develop the form with dataconnection(s) in the infopath client we need to conceal these connections, to prevent the 20 users to copy/paste these connections (WSDLs) and reuse them in other forms. The issue is that we&amp;nbsp;in IT&amp;nbsp;want to know which forms are using our webservices&amp;nbsp;to keep track of load on service cluster and performance. If we suddenly have 10-20 unknows forms using the webservices and&amp;nbsp;generating extreem/extra load... well we have problem.&lt;/p&gt;
&lt;p&gt;Is the solution to develop the form with Visual Studio and managed code all the way? It seems like extra work :-) &lt;/p&gt;
&lt;p&gt;Thx.&lt;/p&gt;</description></item><item><title>Re: How to hide the infopath code from the users</title><link>https://www.infopathdev.com:443/forums/thread/78801.aspx</link><pubDate>Sun, 20 May 2012 05:19:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78801</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78801.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78801</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;If by &amp;quot;code&amp;quot; you are referring to managed code (C#/VB.NET), then this will not be accessible to users.&amp;nbsp;It exists in&amp;nbsp;published forms in the form&amp;nbsp;of a compiled DLL.&amp;nbsp;What is it about the data connections that you would like to conceal?&lt;/p&gt;</description></item><item><title>How to hide the infopath code from the users</title><link>https://www.infopathdev.com:443/forums/thread/78799.aspx</link><pubDate>Sat, 19 May 2012 20:32:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78799</guid><dc:creator>andersbak</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78799</wfw:commentRss><description>&lt;p&gt;Hi - I have a problem :-) I work in IT department and we want to hide the code in our infopath forms from the user! The reason why is to ensure they do not copy paste the code and the dataconnections. Yeah I know - where is the trust in our users... My experience is that if they can do it - they WILL do it! I have seen some very creative and fancy solutions from the users in infopath. Anyway - we need to hide the code, how to do it? Any ideas?&lt;/p&gt;
&lt;p&gt;We are working in infopath 2010 and the forms are accessed by the users through the browser.&lt;/p&gt;
&lt;p&gt;Thanks :-)&lt;/p&gt;</description></item></channel></rss>