Encoding username and password in an ini file?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Encoding username and password in an ini file?

Post by Me_again » Tue Oct 18, 2005 3:01 am

I need to give someone a compiled macro that includes ftp function. If it was just for me I would compile the usename/pw in the macro but in this case I need the user to be able to enter their own username/pw and store them in an ini file. I want to encode the information, not to stand up to the NSA but just so it's not a slam dunk to harvest it. I'm wondering if anyone has done something similar and has any suggestions of an easily implemented encoding scheme for me.

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Tue Oct 18, 2005 7:01 am

Use the Crypt function to encrypt/decrypt the password and use EditIniFile to store, ReadIniFile to retrieve.
MJT Net Support
[email protected]

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Tue Oct 18, 2005 6:40 pm

Gosh, darn, missed ANOTHER new feature, it's hard to keep up with you guys :lol:

Thank you!

I often use the online manual on the support page, is that going to be updated to 7.4 soon?

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Fri Oct 21, 2005 8:45 am

The online version of the manual has been updated:

http://www.mjtnet.com/support.htm
MJT Net Support
[email protected]

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Sat Oct 22, 2005 12:20 am

Very good, thanks!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts