如何将用户重定向到403拒绝访问的正常页面。 [英] how can redirect user to normal page insted of 403 access denied.

查看:1373
本文介绍了如何将用户重定向到403拒绝访问的正常页面。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,

我们需要在窗口身份验证中将默认的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆