password-protection

How to hide my login and password in the python script?

How to hide my login and password in the python script? Question: How can i not show the login ID and password in the python script? Is there any library or command can I hide those information? For example: login_id = "secret_id" instead of login_id = "[email protected]" password = "secret_password" instead of password = "1234ABCD" …

Total answers: 2

How do I lock a python (.py) file for editing?

How do I lock a python (.py) file for editing? Question: I wrote an automation program which logs in to a website to perform a certain task. The .py file will be given to a number of users but I don’t want them to be able to read the code and see the password used …

Total answers: 6

Python's safest method to store and retrieve passwords from a database

Python's safest method to store and retrieve passwords from a database Question: Looking to store usernames and passwords in a database, and am wondering what the safest way to do so is. I know I have to use a salt somewhere, but am not sure how to generate it securely or how to apply it …

Total answers: 6