Hi

I am having problems.

I have a program that uploads to an ftp server, using a sub-ftp account.

this means that when they submit information, it adds to a list on my ftp server, of which I can go back and view.

the thing is, a few times now, someone has debugged my program and decrypted the ftp username and password strings, and logged in and viewed/deleted my data.


I want it so that I can store the ftp username/pass inside the program (the username and password are just two strings) so that the program has the necessary credentials to be able to upload, however I want it so that the user of the program doesn't see the credentials.

I basically need to encrypt the following (which are regular strings)


ftp address

ftp username

ftp password

how can I do this?

I know how u can do it so that it's kind of like where you enter in plaintext into a textbox, then the program compares against a hash, however I need it so that it automatically has all the info INSIDE the program, but is encrypted

I'm sure a very nice person will help me and if they do I will be most grateful!

Thankyou