Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...DNN6 Pasword requirementsDNN6 Pasword requirements
Previous
 
Next
New Post
3/30/2012 3:06 PM
 

Can someone of the top of their head tell me what the default DNN password requirements are (i.e password length and complexity) and how can you easily change them?

 

Thanks,

 

 

 
New Post
3/30/2012 8:46 PM
 

its defined in the web.config but the default is a minimum of 7 characters and no requirement for non-alphanumeric characters - the default is below:

<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SiteSqlServer" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Encrypted" applicationName="DotNetNuke" description="Stores and retrieves membership data from the local Microsoft SQL Server database"/>

Note: you can also introduce the passwordstrengthregularexpression attribute and apply more complex rules - http://www.dotnetnuke.com/Resources/F...


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
4/2/2012 2:18 PM
 

Cathal,

Thanks for the info. This is quite frustrating but all I did was change the length of the min passowrd from 7 to 6 in the web.config file and it will not take. I have cleared the cache, restarted the application and for good measure restarted the www service on my windows 2008 server and it it will only take a min of 7 characters!! Would you know what is going on??

 

Dan

 
New Post
4/3/2012 5:30 AM
 
I've never tried to reduce it to less than 7 characters, but I dont see anything in the documentation (http://msdn.microsoft.com/en-us/library/system.web.security.membership.minrequiredpasswordlength.aspx) which suggests that it shouldnt work - however as we are simply passing the value to the Microsoft sql membership provider it may be that it has code which does not allow shorter passwords. I googled and can't find anyone complaining about such a hidden setting

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
4/3/2012 1:08 PM
 

I figured it out. It turns out that I was editing the wrong part of the web.config file. I didn't realized the part above what you should is a descriprtion of the variables and not the actual variables themselves. all is goos now. Thanks for all your help!



Dan

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...DNN6 Pasword requirementsDNN6 Pasword requirements


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out