On certain occasions, your ASPX files may not function as expected. You might encounter “Permission Denied” or “Security Exception” errors. This is typically due to the default security configuration of the ASP.NET environment on our servers.
We have configured ASP.NET Trust Level to MEDIUM
in the MACHINE.CONFIG
file. This level enforces a secure runtime environment by restricting application capabilities, as summarized below:
Unrestricted permissions. Full access to OS-secured resources and privileged operations.
Cannot:
• Call unmanaged code
• Use serviced components
• Write to the event log
• Access Microsoft Message Queuing (MSMQ)
• Use OLE DB data sources
Includes all High restrictions, plus:
• File access limited to the application directory
• No registry access
Includes all Medium restrictions, plus:
• No SQL Server access
• Cannot assert security permissions
Only execution permission is available; no file, network, or resource access is allowed.
Add Comment