Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Web Site Administration Tool How to change the Password length ASP.NET 3.5

Web Site Administration Tool How to change the Password length ASP.NET 3.5

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsecuritytutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BoySetsFire
    wrote on last edited by
    #1

    Hi, i use the ASP.NET 3.5 included security system. i want to change the min password length and i will not work with Non-alphanumeric characters... but how???

    S 1 Reply Last reply
    0
    • B BoySetsFire

      Hi, i use the ASP.NET 3.5 included security system. i want to change the min password length and i will not work with Non-alphanumeric characters... but how???

      S Offline
      S Offline
      sashidhar
      wrote on last edited by
      #2

      Use the Followin Code In Web.Config file It May Help I used in the following way

      <membership>
      <providers>
      <clear/>
      <add name="AspNetSqlMembershipProvider"
      connectionStringName="MyAspNetDB"
      enablePasswordRetrieval="false"
      enablePasswordReset="true"
      requiresQuestionAndAnswer="true"
      applicationName="/SamplesRolesApp"
      requiresUniqueEmail="false"
      passwordFormat="Hashed"
      maxInvalidPasswordAttempts="100"
      minRequiredPasswordLength="5"
      minRequiredNonalphanumericCharacters="0"
      passwordAttemptWindow="10"
      passwordStrengthRegularExpression=""
      type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
      </providers>
      </membership>

      If It Helps Click It as Answer

      B 1 Reply Last reply
      0
      • S sashidhar

        Use the Followin Code In Web.Config file It May Help I used in the following way

        <membership>
        <providers>
        <clear/>
        <add name="AspNetSqlMembershipProvider"
        connectionStringName="MyAspNetDB"
        enablePasswordRetrieval="false"
        enablePasswordReset="true"
        requiresQuestionAndAnswer="true"
        applicationName="/SamplesRolesApp"
        requiresUniqueEmail="false"
        passwordFormat="Hashed"
        maxInvalidPasswordAttempts="100"
        minRequiredPasswordLength="5"
        minRequiredNonalphanumericCharacters="0"
        passwordAttemptWindow="10"
        passwordStrengthRegularExpression=""
        type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
        </providers>
        </membership>

        If It Helps Click It as Answer

        B Offline
        B Offline
        BoySetsFire
        wrote on last edited by
        #3

        Thanks for you answer!!! i thing i am to dumb ;) i have insert the configuration in my web.config... but Parser Error Message: Unrecognized configuration section providers. on which position have you insert the providers tag?? Cheerio!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups