How to cancel strong password limitation in ASP 2.0

H

Henry Lee

Hi,
Our user complain about the strong password setting makes them hard to
remember for ASP 2.0 web. Is there anyway to disable the setting which
requires users must use strong password like #$% character ?
Thanks,
Henry
 
G

Guest

Hello Henry Lee,

You can modify the password requirements for the Sql membership provider
using the Membership.MinRequiredPasswordLength and
Membership.MinRequiredNonAlphanumericCharacters properties. They are settable
in the Web.config file:

<membership defaultProvider="SqlProvider"
userIsOnlineTimeWindow = "20>
<providers>
<add
name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="SqlServices"
requiresQuestionAndAnswer="true"
minAlphanumericCharacters="1"
minRequiredPasswordLength="7"
/>
</providers>
</membership>
=-=-=-=-=-

<usual caveats apply about doing anything which weakens security>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top