New test.
[mono.git] / mcs / class / System.Web / System.Web.Security / FileAuthorizationModule.cs
index 747dc8ca89ab8f906e10c6b368b7d774529bed5f..3b301d42f55d8042abf8031278408ebb27baaba8 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Security.Permissions;
+
 namespace System.Web.Security
 {
        [MonoTODO ("that's only a stub")]
+       // CAS - no InheritanceDemand here as the class is sealed
+       [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
        public sealed class FileAuthorizationModule : IHttpModule
        {
+               [SecurityPermission (SecurityAction.Demand, UnmanagedCode = true)]
+               public FileAuthorizationModule ()
+               {
+               }
+
                public void Dispose ()
                {
                }