>>>>> "Ambar" == Ambar Roy <[EMAIL PROTECTED]> writes:
>> What i want to avoid is embeding the root/equivalant user
>> password in my
Ambar> cgi
>> application.
Ambar> [snip]
OK, here's one roundabout way of doing it:
Create a PGP keypair for each user. Now encrypt the MySQL password
using all the public keys of all the users. Let each secret key have
the users password as pass phrase. When a user logs in, use the
password s/he's supplied to unlock the corresponding secret key, and
use that to decrypt the MySQL password. Voila! no passwords embedded
in CGI's!
Regards,
-- Raju
--
Raju Mathur [EMAIL PROTECTED] http://kandalaya.org/
------------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-delhi
- [linux-delhi] Stop This or else Pankaj Kaushal
- Re: [linux-delhi] Stop This or else Rajesh Thiharie
- RE: [linux-delhi] Stop This or else Sahil Gupta - NET4U
- Re: [linux-delhi] Stop This or else Amit Soni
- Re: [linux-delhi] Mysql Amit Soni
- Re: [linux-delhi] Mysql Raju Mathur
- Re: [linux-delhi] Mysql Chandresh Pant
- Re: [linux-delhi] Mysql Chandresh Pant
- Re: [linux-delhi] Mysql Amit Soni
- Re: [linux-delhi] Mysql Ambar Roy
- Re: [linux-delhi] Mysql Raju Mathur
- Re: [linux-delhi] Mysql Sandip Bhattacharya
- [linux-delhi] PGP in a CGI s... Anmol Khirbat
- Re: [linux-delhi] Mysql Raju Mathur
- Re: [linux-delhi] Mysql Mithun Bhattacharya
- Re: [linux-delhi] Mysql Amit Soni
- Re: [linux-delhi] Mysql Mithun Bhattacharya
- Re: [linux-delhi] Tracking user ... Amit Soni
- [linux-delhi] SAMBA - is it ... Sunil Dhaka
- Re: [linux-delhi] SAMBA - is... Vivek Khare
- Re: [linux-delhi] SAMBA - is... Sunil Dhaka
