[mapserver-commits] r7137 - trunk/mapserver/mapscript/csharp/config
svn at osgeo.org
svn at osgeo.org
Sun Dec 2 17:22:41 EST 2007
Author: tamas
Date: 2007-12-02 17:22:41 -0500 (Sun, 02 Dec 2007)
New Revision: 7137
Modified:
trunk/mapserver/mapscript/csharp/config/AssemblyInfo.cs
Log:
Added the AllowPartiallyTrustedCallers attribute to the assembly (#2419)
Modified: trunk/mapserver/mapscript/csharp/config/AssemblyInfo.cs
===================================================================
--- trunk/mapserver/mapscript/csharp/config/AssemblyInfo.cs 2007-12-01 22:01:58 UTC (rev 7136)
+++ trunk/mapserver/mapscript/csharp/config/AssemblyInfo.cs 2007-12-02 22:22:41 UTC (rev 7137)
@@ -1,5 +1,6 @@
using System.Reflection;
using System.Runtime.CompilerServices;
+using System.Security;
//
// General Information about an assembly is controlled through the following
@@ -56,3 +57,9 @@
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("mapscript.snk")]
[assembly: AssemblyKeyName("")]
+
+// The AllowPartiallyTrustedCallersAttribute requires the assembly to be signed with a strong name key.
+// This attribute is necessary since the control is called by either an intranet or Internet
+// Web page that should be running under restricted permissions.
+[assembly: AllowPartiallyTrustedCallers]
+
More information about the mapserver-commits
mailing list