diff options
Diffstat (limited to 'src/DotNetOpenId/Properties/AssemblyInfo.cs')
-rw-r--r-- | src/DotNetOpenId/Properties/AssemblyInfo.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DotNetOpenId/Properties/AssemblyInfo.cs b/src/DotNetOpenId/Properties/AssemblyInfo.cs index 30dea0c..f25b6ae 100644 --- a/src/DotNetOpenId/Properties/AssemblyInfo.cs +++ b/src/DotNetOpenId/Properties/AssemblyInfo.cs @@ -67,8 +67,10 @@ using System.Web.UI; // Allows the consumer to call out to the web server. This is unnecessary in provider-only scenarios.
// Note: we don't use a single demand for https?://.* because the regex pattern must exactly
// match the one used by hosting providers. Listing them individually seems to be more common.
+#if !__MonoCS__
[assembly: WebPermission(SecurityAction.RequestMinimum, ConnectPattern = @"http://.*")]
[assembly: WebPermission(SecurityAction.RequestMinimum, ConnectPattern = @"https://.*")]
+#endif
#if PARTIAL_TRUST
// Allows hosting this assembly in an ASP.NET setting. Not all applications
|