views:

419

answers:

5

Can someone please tell me how to do the following in SharePoint (WSS 3.0):

Have a user log in (user name and password) on a page and then if correct display the home page of a WSS 3.0 site?

I think it's called forms based authentication.

+3  A: 

Here's a video about using Forms Auth. with WSS3 and here are some samples. Basically, you use the login.aspx page in _layouts to collect credentials and cache them. You have to modify web.config to use the membership provider. More on that here.

JP Alioto
+1  A: 

Save yourself a lot of time and checkout http://sharepointsolutions.com/SharePoint-Add-ons/Products/Pages/ExtranetCollaborationManager.aspx

I have done it several ways but this has made life easier when configuring environments.

bon733
+2  A: 

This is one of the best article on FBA

Kusek
A: 

I just believe some JavaScript is enough to do that.Maybe I am Wrong!

tag
?? I said"Maybe I am wrong!" Reputation is nothing to me, but if I lose it just because my answer is not the right one. I just:-(
tag
A: 

As a special case of Forms Based AuthN, in case you don't have to own the DB containing your users, you can rely on Live ID to authenticate users to your site. Haven't tried this, but may help you.

Ariel