开发者

Sharepoint page redirection for unauthorised users

Is it possible, if so how(!), to auto redirect a user that doesnt have access to a certain page?

I can see that in many cases this could be a complete pain for a user and confusing, but in my s开发者_如何学编程ituation it would be ideal.

Thx in advance!

Steve


Yes, this is possible.

You can do it by creating a custom HTTP Module, which can override the default access denied page.

Here's an example.


You can customise the accessdenied.aspx file in layouts folder.

Before customising it you need to take a copy.

with the writing of javascript (location.href=new file) code you can redirect user to other page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜