Encrypt / Decrypt password?

From: Mn (r_meen@yahoo.com)
Date: 05/25/02


From: "Mn" <r_meen@yahoo.com>
Date: Fri, 24 May 2002 20:59:04 -0400


Environment: NT 4.0 Server (w/ latest service pack), MS-SQL Server 6.5, ASP,
IIS 4.0

Web application has a login / password ASP page.

Would like to know how users' password could be encrypted and stored in the
database. Also, should be able to decrypt the password to facilitate "Email
my password" functionality for users who forget their password.

Tried CAPICOM.DLL. But it encrypts a 10 character plain text to 142
characters (for Algorithm = 3, 3DES). This would require password column in
application table to be of approximately 150 characters!!! (there are 2000
users! Would like to avoid large column width).

Am not sure if I could use CAPICOM.DLL for this purpose.

Any suggestion would be greatly appreciated.

Thanks in advance



Relevant Pages

  • Login failure from asp.net delegation
    ... We want to use windows 2000 User auth to query sql 2000 using security ... checked "Integrated Windows Auth" in IIS and have added this to web.config. ... I have not added a login to the database since i thought it passes in the ...
    (microsoft.public.sqlserver.security)
  • Database Login Fail - Weird Problem
    ... "Cannot open database requested in login ... I have ASPNET setup as the user in IIS, identity impersonate is true in the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP/SQL Server Setup
    ... I don't want to have to put a user in my database for every ... SQL server using the windows authentication for the machine that IIS is ... If you have a login page already, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: PDO: Switch database user without reopening connection
    ... At the bare minimum there will be a login user who only has ... modifications to the database as well (editors get update permission, ... As database connections are expensive to ... a certain visitor in the Session, and use that value to start the right ...
    (comp.lang.php)
  • Re: PDO: Switch database user without reopening connection
    ... At the bare minimum there will be a login user who only has ... the postgres user they are logged in as to one that can make ... modifications to the database as well (editors get update permission, ... As database connections are expensive to ...
    (comp.lang.php)