CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.

YesSoftware Forums -> CodeCharge Studio -> .NET

 Encrypted login

Print topic Send  topic

Author Message

Posts: 3
Posted: 02/28/2009, 6:40 PM

On ASP.NET VB, when using SecurityUtility.MD5({password}) in the settings and modifying the user registration form to encrypt passwords, how do I modify the login form to check for encrypted password?

Other question:
How do I convert the non-encrypted passwords already contained in my MS SQL table?

View profile  Send private message

Posts: 333
Posted: 03/22/2009, 7:01 PM

Well, maybe this is late.

Check MembershipProvider.vb, this line (line 70):
Sql = "SELECT " + userIdField + " FROM " + tableName + " WHERE " + userLoginField + "=" + dao.ToSql(username, FieldType._Text) + " AND " + userPasswordField + "=" + dao.ToSql(password, FieldType._Text)

you need touch here: dao.ToSql(SecurityUtility.MD5(password), FieldType._Text)

Remember this is gray area. It will not generate after you modify it.

MembershipProvider.vb is located under Common Files > AppCode > Components

Melvyn Perez
Puro Codigo
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.