ASP.NET Membership Encrypted Passwords [ June 5th, 2010 ] Posted in » ASP.NET, Controls, Web Development, Wordpress

To keep your passwords secure but still be able to retrieve the password via the ASP.NET membership provider you will need to implement the password type as Encrypted.

To do this you need to provide a machine key in the web.config of machine.config.

You can find a machine key generator at:  http://www.developmentnow.com/articles/machinekey_generator.aspx

The membership code looks like:

<membership defaultProvider="BfssSqlMembershipProvider">
  <providers>
    <!-- Add a customized SqlMembershipProvider -->
    <add name="BfssSqlMembershipProvider"
    type="System.Web.Security.SqlMembershipProvider"
    connectionStringName="cstrBFSS"
    enablePasswordRetrieval="true"
    enablePasswordReset="true"
    requiresQuestionAndAnswer="true"
    applicationName="BusinessForSaleSpain"
    requiresUniqueEmail="false"
    passwordFormat="Encrypted"
    maxInvalidPasswordAttempts="5"
    minRequiredPasswordLength="7"
    minRequiredNonalphanumericCharacters="0"
    passwordAttemptWindow="10"
    passwordStrengthRegularExpression=""/>
  </providers>
</membership>
<machineKey
  validationKey="7D69B8F7D5D4A9D6CC9776D6972877FC1ACA7669
    650687987EBF3C2A1709E0065AAA13ECABF4193A65920A027588
    42EF9EA97FDAC57C2F40F808AD1FFD9145"
  decryptionKey="CB0CE75BFD315E2108A96F95384BA8E28AE2AF97
    03F42B7D369EE44C09C394A6"
  validation="SHA1" decryption="AES"
/>

Please make sure you generate your own machine key.

For further information about ASP.NET Membership please visit: http://msdn.microsoft.com/en-us/library/ff648345.aspx

Google de-indexing BANS web sites

For those of you who aren’t familiar with BANS it is a great php script that makes it very easy to Build A Niche Store (BANS) and works with the eBay Affiliate program.  You can find out more about BANS at http://www.buildanichestore.com/.

Unfortunately it appears that Google is currently targeting these stores and removing them from their index.  This is because in the growing popularity of the BANS system there has been a huge influx of BANS stores, many of which are regarded as “Thin Affiliate Sites” or “SPAM Sites”.

Read More …

September 30th, 2008 | Leave a Comment

Pacweb Launch New Web Site

This is the new web site for Pacweb Internet Development.

Pacweb have decided to use the popular open source blogging application Word Press as the platform for our new web site.

Word press enables us to quickly post new content and update articles from anywhere with an internet connection.  With content being the main focus for the new web site we feel that Word Press is the ideal solution.

Stay tuned for up and coming articles, services and discussions on Pacweb.

September 30th, 2008 | Leave a Comment

Powered by WordPress | Blue Weed by Blog Oh! Blog | Entries (RSS) and Comments (RSS).