Adding Intranet Sites to IE Trusted Sites Makes IE Zone Internet - Patrick Halstead
in

InfoPath Dev

Patrick Halstead

Adding Intranet Sites to IE Trusted Sites Makes IE Zone Internet

Managed code forms that use simple code like System.Environment.Username will fail with a security exception for form templates with domain trust when launched from an Internet IE zone.

Here are the options:

  1. Remove Trusted Site setting for the intranet site.
    • Pro: this is the best approach since intranet sites shouldn't have to be added to Trusted Sites.
    • Con: could be lots of work if you have other solutions that require IE Trusted Sites.
  2. Make InfoPath form template full trust and require digital certificates and signing.
    • Pro: this is another recommended solution.
    • Con: digital certificates can require a lot of configuration and installation; adoption still low.
  3. Move form libraries to a different server.
    • Pro: this is a workaround that gives us ultimate independence and flexibility.
    • Con: it’s more work to move the form library.
  4. Create a .NET Deployment MSI for Machine code group.
    • Pro: this is an easy thing to do.
    • Con: overwrites the existing .NET Machine settings for all clients where it is installed.

Comments

No Comments

About Patrick Halstead

Hello! I am the founder of Qdabra Software, a small bootstrap software company focused on electronic forms for customers of all stripes. We help organizations design and implement solutions using off-the-shelf technologies such as Office 365, SharePoint and InfoPath. We help you build form solutions in the cloud or on premises. My hobbies include running, hiking, independent film, and Japanese culture.
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.