Saturday, March 6, 2010

Form Based Authentication in WSS/MOSS 2007

Create Database using-C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

Create a asp.net site and add new item web.config- add the below entry For Extranet and for Internet sites

Use asp.net web site administration tool to add user

Extend the web site for Internet - set proper setting

======================================

For Extranet and for Internet sites

====================

connectionString="server=servername;database=databasename;Integrated Security=SSPI;"

providerName="System.Data.SqlClient"/>

====================

In Central Admin

type="System.Web.Security.SqlMembershipProvider, System.Web,Version=2.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a"

connectionStringName="AcSqlConnString"

enablePasswordRetrieval="false"

enablePasswordReset="true"

requiresQuestionAndAnswer="false"

applicationName="/"

requiresUniqueEmail="false"

passwordFormat="Hashed"

maxInvalidPasswordAttempts="5"

minRequiredPasswordLength="1"

minRequiredNonalphanumericCharacters="0"

passwordAttemptWindow="10"

passwordStrengthRegularExpression=""

/>

type="System.Web.Security.SqlRoleProvider, System.Web,Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

connectionStringName="AcSqlConnString"

applicationName="/"

/>

==========================

Now add the users to parent sites

==============================

Start testing the extended sites.

==================================

Best of luck

No comments:

Post a Comment