Group Policy
For a production application, Full Trust to the www.atalasoft.com site can be added to a group policy, which eliminates the need to manually add full trust to the site, as outlined below.
Manual Security Policy
Manually add a site policy for www.atalasoft.com (or localhost if run locally) by following these steps.
- Open the Microsoft .NET Framework Configuration from Control Panel | Administrative Tools
- Select Runtime Security Policy | Machine | Code Groups | All_Code
- Right click All_Code and select New to create a new code group
- Name the code group Atalasoft_Site
- Choose the Site condition for the code group
- Ensure Full Trust is applied to the code group
The configuration should look like this:

For more information on .NET security policies, please read this MSDN article.