cURL / Mailing Lists / curl-library / Single Mail

curl-library

post-ing a user:password

From: Rashid Butte <rbutte_at_motive.com>
Date: Wed, 4 Aug 2004 11:43:07 -0500

Hi,

 

I'm currently using:

curl_easy_setopt(curl, CURLOPT_POSTFIELDS, POSTFIELDS);

 

where POSTFIELDS is a #define that contains user, password, and a bunch
of other stuff.

 

It works fine. My problem is that the user:password data is visible in
the .exe -- it's not encrypted.

 

Are there any standard ways to encrypt or obfuscate a password that is
part of the -d data fields?

 

I'm thinking there must be a way to encrypt the data, put it in a file,
and read that file at runtime, decrypt, and substitute into the POST.

Has anyone done anything like this?

 

Thanks and regards,

 

Rashid Butte

Consulting Services

rbutte_at_motive.com

office: 512-531-1037

cell: 512-576-8962

 
Received on 2004-08-04