I'm developing a managed module for IIS7. Assembly with my code is placed in GAC and worked fine within 2.0 pipeline...   But with .NET 4.0 pipeline (and Medium Trust Level chosen) there are no permissions to read registry and code is unable to read/write "C:\Program Files\<Folder>\MyAppConfig.file" Is there any way to grant my assembly with proper permissions to do this?

Go to the complete details ...