I have a Python script which requires a username and password to log into a specific website. I have stored the username and password in a config.py python module.
But anyone can open this config.py file on a text editor and can view the username and password. This is a huge security issue! How do I prevent this?
I want to encode it using a 64base encoder but it can easily be decoded as well.
config.py
username='joe'
password='bestpassword'