Redirecting Sharepoint login page or display login web part

5.6k Views Asked by At

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 displays 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!

3

There are 3 best solutions below

3
On

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

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

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?

0
On

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