Hey guys, I've written a small script to access my brokerage and pull down realtime quotes in realtime so that I can perform data analysis offline on large sets of data. I would like to have the script triggered from cron to go ahead and start up and get quotes before I get out of bed. Pre-market quotes start at 5 am PDT and I don't usually get up until 6. The website uses basic authentication and my script asks for the password when I fire it up so that I don't have it in plaintext in the code. I log in over an ssh connection so I have some minimal level of security. Is it possible to manually add the encrypted header text to the request so that the script can run automagically and still maintain some level of security? I can snoop the request headers and just replicate them manually with the encrypted data if it'll work. Does that approach run any more of a security risk than I'm already running?
Thanks, Tony
