Wednesday, 07 January 2009
DotNetSpace, Asp.net 2.0 tutorials and code examples. ajax, log4net...
Home arrow Articles arrow General Articles arrow Customizing asp.net 2.0 security framework
 
Main Menu
Home
Articles
News
Links
Search








BiraJones




Customizing asp.net 2.0 security framework Print E-mail
Friday, 18 August 2006


This is the way you can configure some security aspects of your application:

     //this configuration was copied from machine.config to web.config xml to be able to customize some security aspects:
    <system.web>
        ...
        <membership>
                <providers>
                    <remove name="AspNetSqlMembershipProvider"/>
                    <add name="AspNetSqlMembershipProvider"
                         type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
                         connectionStringName="myConnectionString"
                         enablePasswordRetrieval="false"
                         enablePasswordReset="true"
                         requiresQuestionAndAnswer="false"
                         applicationName="/"
                         requiresUniqueEmail="true"
                         passwordFormat="Hashed"
                         maxInvalidPasswordAttempts="5000"
                         minRequiredPasswordLength="4"
                         minRequiredNonalphanumericCharacters="0"
                         passwordAttemptWindow="10"
                         passwordStrengthRegularExpression="" />
                </providers>
            </membership>
        ...
    </system.web>

...
Last Updated ( Thursday, 26 October 2006 )
 
< Prev   Next >
Popular
Polls
-->*/?>

Which language will you choose for coding with Visual Studio .NET?
 
-->*/?>

Is ASP.NET better than Java / JSP frameworks?
 

© 2009 DotNetSpace
Joomla! is Free Software released under the GNU/GPL License.