is there an authorizeattribute equivalent to just standard web forms (not MVC) for .net

You can set this up in web.config with the authorization element. <configuration> <system.web> <authorization> <allow roles=”domainname\Managers” /> <deny users=”*” /> </authorization> </system.web> </configuration> Basically domain groups are translated into roles when using <authentication mode=”Windows” />. You can read more about it on MSDN

Handling session timeout in ajax calls

You could write a custom [Authorize] attribute which would return JSON instead of throwing a 401 exception in case of unauthorized access which would allow client scripts to handle the scenario gracefully: [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)] public class MyAuthorizeAttribute : AuthorizeAttribute { protected override void HandleUnauthorizedRequest(AuthorizationContext filterContext) { if (filterContext.HttpContext.Request.IsAjaxRequest()) { filterContext.Result = new JsonResult { … Read more