My Application uses ASP.NET Membership provider. After correct configuration and specifying the Password Format in the Configuration File,Users password are still stored in plain text instead on the Hashed value.
What am i doing wrong?
here is my webcongfigurationfile \[code\]<?xml version="1.0" encoding="utf-8"?><configuration>\[/code\]\[code\]<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /></configSections><connectionStrings><add name="db_connection" providerName="System.Data.SqlClient" connectionString="Data Source=192.168.11.10;Integrated Security=true;Initial Catalog=TestDB;User ID=sysad;Password=abc@123_ec"/></connectionStrings><system.web><compilation debug="true" targetFramework="4.5" /><httpRuntime targetFramework="4.5" /><pages> <namespaces> <add namespace="System.Web.Optimization" /> </namespaces> <controls> <add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" /> <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /> <add assembly="JuiceUI" namespace="Juice" tagPrefix="juice" /> </controls></pages><authentication mode="Forms"> <forms loginUrl="~/Account/Login.aspx" timeout="25" /></authentication><membership defaultProvider="Myprovider"> <providers> <add name="Myprovider" type="System.Web.Security.SqlMembershipProvider" passwordFormat="Hashed" connectionStringName="db_connection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="3" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" applicationName="" /> </providers></membership> </system.web></configuration>\[/code\]
What am i doing wrong?
here is my webcongfigurationfile \[code\]<?xml version="1.0" encoding="utf-8"?><configuration>\[/code\]\[code\]<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /></configSections><connectionStrings><add name="db_connection" providerName="System.Data.SqlClient" connectionString="Data Source=192.168.11.10;Integrated Security=true;Initial Catalog=TestDB;User ID=sysad;Password=abc@123_ec"/></connectionStrings><system.web><compilation debug="true" targetFramework="4.5" /><httpRuntime targetFramework="4.5" /><pages> <namespaces> <add namespace="System.Web.Optimization" /> </namespaces> <controls> <add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" /> <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /> <add assembly="JuiceUI" namespace="Juice" tagPrefix="juice" /> </controls></pages><authentication mode="Forms"> <forms loginUrl="~/Account/Login.aspx" timeout="25" /></authentication><membership defaultProvider="Myprovider"> <providers> <add name="Myprovider" type="System.Web.Security.SqlMembershipProvider" passwordFormat="Hashed" connectionStringName="db_connection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="3" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" applicationName="" /> </providers></membership> </system.web></configuration>\[/code\]