Hello to everyone,
I want to write a Python script in order to communicate with the handful Webfaction API and call that script through the cron.
My question is: Should the script (which will live somewhere in my server's home folder) contain my username and password as plain text? Is this secure as secure is to compromise Webfaction servers?
As long as you maintain secure permissions on your home directory and its contents, keep all of your applications secure, use strong passwords everywhere, etc, then your credentials should be safe. The only exception to this would be if the server itself was severely compromised (ie if somebody got root), which is very unlikely.
answered 13 Dec '16, 17:48