Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-11-2007, 05:12 AM   PM User | #1
cancer10
Regular Coder

 
Join Date: Jun 2006
Location: India
Posts: 794
Thanks: 210
Thanked 2 Times in 2 Posts
cancer10 can only hope to improve
Question Insert Encrypted Password

Hi All,

I have a question and I hope you guys can help me out.

If you have worked with php-mysql, you might have noticed that there is a featured to encrypt a password while inserting it in the database using the password() function.

I am looking for a similar feature as i am working with asp as frontend and mysql and ms sql server as my backend.

If you have not used php-mysql then ignore the above and tell me if there is any function to encrypt the password while inserting it to the database using ASP? (for both mysql and mssql)


Thanx in advance
__________________
http://outlineme.com/cancer10
cancer10 is offline   Reply With Quote
Old 04-11-2007, 06:48 AM   PM User | #2
Roelf
Senior Coder

 
Join Date: Jun 2002
Location: Zwolle, The Netherlands
Posts: 1,110
Thanks: 2
Thanked 28 Times in 28 Posts
Roelf is on a distinguished road
Quote:
Originally Posted by cancer10 View Post
Hi All,

I have a question and I hope you guys can help me out.

If you have worked with php-mysql, you might have noticed that there is a featured to encrypt a password while inserting it in the database using the password() function.

I am looking for a similar feature as i am working with asp as frontend and mysql and ms sql server as my backend.

If you have not used php-mysql then ignore the above and tell me if there is any function to encrypt the password while inserting it to the database using ASP? (for both mysql and mssql)


Thanx in advance
There is no default function to do that in classic asp. But a quick search on google gave me enough to just pick and use one: click
Roelf is offline   Reply With Quote
Old 04-18-2007, 02:24 PM   PM User | #3
degsy
Senior Coder

 
Join Date: Nov 2002
Location: North-East, UK
Posts: 1,265
Thanks: 0
Thanked 0 Times in 0 Posts
degsy is on a distinguished road
Your best bet with ASP is RC4 or MD5. MD5 is not encyption, it is a hash of the text.
This means that it cannot be recovered. If a user forgets their pass it has to be reset. This method is used as it is deemed more secure.

Here is an example of using MD5
http://computer-helpforum.com/asp/de...ord_Update.zip
degsy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:55 AM.


Advertisement
Log in to turn off these ads.