How to elegantly handle ReturnUrl when using UrlRewrite in ASP.NET 2.0 WebForms

前端 未结 4 1754
情歌与酒
情歌与酒 2021-01-13 03:12

I have a folder with multiple .aspx pages that I want to restrict access to. I have added web.config to that folder with .

The

4条回答
  •  渐次进展
    2021-01-13 03:44

    If you are using ASP.NET 3.5, use ASP.NET UrlRouting instead. But you must check the authorization manualy.

    http://chriscavanagh.wordpress.com/2008/03/11/aspnet-routing-goodbye-url-rewriting/

提交回复
热议问题