Configuring .NET Permissions for .NET Controls Hosted in Internet Explorer

Microsoft has provided the ability to host .NET controls on webpages within Internet Explorer, just like it can host Java applets or ActiveX controls. You can use this capability to embed .NET applications.

Unless it is given the correct permissions, attempts to load Studio's .NET translator inside Internet Explorer will either perform incorrectly or will cause Internet Explorer to crash or hang. To prevent this issue, the .NET translator is not loaded into Internet Explorer even when the .NET runtime is detected. This allows Studio to treat the controls inside the .NET application as regular Window controls.

This behavior means that within Internet Explorer:

In scenarios where the .NET translator is needed in Internet Explorer, you must set the required .NET security permissions to the site that contains the .NET control.

 

Required permissions

The following .NET permissions are required for the .NET translator to work correctly with .NET control embedded on a web page:

The required permissions must be given to the Internet Zone that the hosted .NET control is run in. For best results, create a new code group for the site that is hosting the .NET control, which is assigned required permissions listed above.

You can configure the .NET Framework security policy several ways:

 

Related information

Configuring Security Policy Using the Code Access Security Policy Tool (Caspol.exe)

Configuring Security Policy Using the .NET Framework Configuration Tool (Mscorcfg.msc)

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 18 June 2020

© 2016 - 2020 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label