System.Web.AspNetHostingPermissionAttribute
Allows security actions for AspNetHostingPermission to be applied to code using declarative security. This class cannot be inherited.
namespace System.Web
{
public sealed class AspNetHostingPermissionAttribute : CodeAccessSecurityAttribute
{
public AspNetHostingPermissionLevel Level { get; set; }
public AspNetHostingPermissionAttribute(SecurityAction action);
}
}