1d45d683296521e50737be9ab077a94730bef293
[mono.git] / mcs / class / System.Web / System.Web / HttpForbiddenHandler.cs
1 //
2 // System.Web.HttpForbiddenHandler
3 //
4 // Authors:
5 //      Gonzalo Paniagua Javier (gonzalo@ximian.com)
6 //
7 // (C) 2002 Ximian, Inc (http://www.ximian.com)
8 //
9
10 namespace System.Web
11 {
12         class HttpForbiddenHandler : IHttpHandler
13         {
14                 public void ProcessRequest (HttpContext context)
15                 {
16                         throw new HttpException (403, "Forbidden");
17                 }
18
19                 public bool IsReusable
20                 {
21                         get {
22                                 return true;
23                         }
24                 }
25         }
26 }
27