How to Change MinRequiredNonAlphanumericCharacters in AspNetSqlPro

E

EagleRed

I have just started with ASP.NET 2.0 using VS.NET 2005 with SQL 2005. I have
installed the aspnetdb and I am trying to setup a Logon page with a test
user. When I tried to create the test user in the WAT I found that the
password was not accepted because it did not contain a non-alphanumeric
character. My users will resist using extremely strong passwords. Many will
not understand the concept. Therefore, I need to set this to zero. How can
I do this?

I have a reference that points me to the application web.config file but
this seems to apply to a custom membership provider. I do not need to a
custom provider. I only want to avoid requiring non-alphanumeric characters
in passwords. Later, I may want to setup my own regular expression as well.

Thanks for any guidance on this.
 
D

Dominick Baier [DevelopMentor]

Hi,

look at the <membership> element in machine.config - you can configure that
there machine wide - otherwise copy the config element to your local web.config.
 
E

EagleRed

I assume that copying this element to the application web.config and
modifying attributes will safely override for the app. only. The app is
being deployed to a shared server, so I cannot do anything to the
machine.config.
 
D

Dominick Baier [DevelopMentor]

Hi,

just give the provider a new name or add a <clear /> element to the <providers>
section - otherwise you'll have a naming conflict.
 
E

EagleRed

Basically, this requires a custom provider. By copying from the
machine.config I am saving some time/effort in doing so.
 
D

Dominick Baier [DevelopMentor]

hi,

this does NOT require a custom provider - just configure the existing one
appropriately.
 
E

EagleRed

I am a little confused. I wil be deploying the site to a hosted/shared web
server. I will not be able to make changes to the machine.config for obvious
reasons. If I modify the existing provider in my app, do the changes apply
only to my app? Honestly, this is an area where I have very little experience.
 
D

Dominick Baier [DevelopMentor]

hi,

yep - if you configure the provider in you local web.config - this will only
apply to your app.
 
E

EagleRed

Thanks. I'll see how it goes.

Dominick Baier said:
hi,

yep - if you configure the provider in you local web.config - this will only
apply to your app.
 

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,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top