How to avoid users to see code - InfoPath Dev
in

InfoPath Dev

How to avoid users to see code

Last post 09-16-2006 04:14 AM by Karsten Brocksieper. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-15-2006 06:09 AM

    • rggg
    • Not Ranked
    • Joined on 09-06-2006
    • Mexico
    • Posts 4

    How to avoid users to see code

    Hi!!

    Is there a way in Infopath to keep users from looking at the code (in mi case JScript), preventing them to open the form in design mode and allowing them to only open the form and enter data?

    Thanks in advance!!!
  • 09-15-2006 07:40 AM In reply to

    Re: How to avoid users to see code

    Hi,

    Do the following steps to disable the Design This Form toolbar.
    1. Open the form in design mode.
    2. Go to Tools menu and select Form options.
    3. In that Click on General tab and check the "Enable protection" check box.
    4. Click on ok button.

    Now when you open the form to fill out you will not get "Design" in the toolbar.
  • 09-15-2006 10:07 PM In reply to

    Re: How to avoid users to see code

    Doesn't the protection feature just show a dialog box when they open the form in the designer? I didn't think it prevented the user from seeing the code. Maybe I'm wrong though.

    Hi Rggg and welcome,
    Another way to do this is to use managed code (.NET) and obfuscate the code that you create. I heard somewhere that obfuscation was built into Visual Studio 2005 but I haven't tried it. We have a commercial obfuscator for our projects.
    Patrick Halstead
    Project Manager at Qdabra
  • 09-16-2006 04:14 AM In reply to

    Re: How to avoid users to see code

    Hi,

    ...just to extend and clarify the message from Patrick.

    Yes, he is absolutely right that there is a built-in obfuscator in VS.Net 2005.
    This is named "Obfuscation for .NET -- Dotfuscator by PreEmptive Solutions".

    For anyone who is more interested in this please have a look here:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dotfuscator/dotf3e5x.asp

    Regards,
    Karsten
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.