Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am creating an application that requires that I upload files to my server from the client's computer. I have decided to use an ftp class which allows me to upload/download files from my server easily.

The problem I am having now is making sure that my sensitive ftp information is encrypted and hidden from the user. This is a windows forms application in C#, what is the best way to hide this information from being found by any means?
Posted

By "sensitive FTP information", I assume you mean the FTP credentials? If so, I would download the credentials (which should be encrypted using public/private keys) from a known location. This will allow you to update the credentials without requiring modifications to your app.

/ravi
 
Share this answer
 
Comments
UNOWN301 10-Jul-13 12:22pm    
Ya, this was my first inclination. Having the credentials in a remote location does allow me to update them without modifying the app, however it doesn't really add too much extra security because someone can simply decompile my code, see my decryption code and then implement it themselves...right?
Ravi Bhavnani 10-Jul-13 12:27pm    
If you want more security, you could use SSL.  That way even with Fiddler casual users won't be able to view the key encrypted credentials.

/ravi

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900