Quote from Trader.NET:
Is your ATS running in remote site? If so encryption does help, but remember it has to be decrypted by your program. So it's not 100% safe if running on a remote site. If it's on your computer, there's no need to do so as TWS sends your password using SSL if you choose to.
It's running locally. I'm trying to protect it against hackers hacking into my PC. For auto-login, I need to save my username and password and encrypt/decrypt it somehow.
I just thought about this. I can encrypt them using a key generated by a hardware specific number (something from the network card) and then save them to a file. Then my ATS program calls an executable file that does the decryption and autologin. At least this'll make it harder to hack but probably not impossible.
Edit: Actually, I don't think I need to save them in a file. I can put the encrypted username/password in the executable file. Then it decrypts them using the key of the network card. The only way to access them would be by reassembling the executable.
