开发者

Redirecting Sharepoint login page or display login web part

开发者 https://www.devze.com 2022-12-09 05:02 出处:网络
I have enabled FBA for my Sharepoint site and i want to add a login page or webpart either one of them.

I have enabled FBA for my Sharepoint site and i want to add a login page or webpart either one of them.

Currently my site directly goes to Default.aspx and display开发者_StackOverflows information and webparts (which display error messages)

What i want is: Either set my default page to the Login Page or if there is a way not to display anything on my default page other than a login web part?

I want users to login their details before they enter the default page?

Any solutions e.g. redirects, webparts or anyother will be appreciated!

Thanks in advance!


As you enabled Forms Based Authentication (FBA), can't you just change your login page?

<authentication mode="Forms">
  <forms loginUrl="/_layouts/mycustomlogin.aspx" />
</authentication>


A setup to match your description might look something like this:

Default Zone, Windows Auth, No Anonymous Access (usually)

Extranet, FBA, maybe anonymous access depending on what you're trying to do

A page that you don't want "the public" to be able to see at all should probably require authentication (no anonymous access). Does this help?


It definitely has something to do with your Anonymous Access - try to configure that appropriately.

0

精彩评论

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

关注公众号