Suppose my folder structure is like this:-
Project
|-Config
--config.json
|-Features
--enscryption.py
|-main.py
enscryption.py file will hold the code to encrypt and decrypt the config.json file. And the main.py file will use the info from the json file.
And is there any other way to secure the data, either using another file or method. [Other than .env file]
Thanks in advance.
New contributor
Rorcept is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.