如何将用户重定向到403拒绝访问的正常页面。 [英] how can redirect user to normal page insted of 403 access denied.
问题描述
全部,
我们需要在窗口身份验证中将默认的403禁止访问页面更改为其他内容。
的想法是,如果用户通过窗口身份验证,则用户将根据角色重定向到管理面板。如果用户没有通过窗口身份验证,则会将用户带到某个特定页面,以根据正常用户角色向他显示正常数据。
目前发生的情况是,如果用户未通过窗口身份验证而非系统自动重定向到表示403访问被拒绝的页面。您无权查看此站点。
在microsoft网站上找到一篇有用的文章。希望这能解决您的问题。
http://support.microsoft .com / kb / 306355 [ ^ ]
HI all,
we need to change the default 403 forbidden access page to something else in window authentication.
the idea is if user pass window authentication then user will be redirected to admin panel based on the roles. if user do not pass window authentication than it will take user to some particular page to show him normal data based on normal user role.
currently what happen that if user fails window authentication than system automatic redirect to a page which says 403 access denied. you are not authorized to view this site.
Found a useful article on microsoft's site. Hope this will solve your problem.
http://support.microsoft.com/kb/306355[^]
这篇关于如何将用户重定向到403拒绝访问的正常页面。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!