This Repo required for Asac labs class 2
1- Sensitive data
. You have SECRET_KEY in each Django project. This data cannot be stored in VCS.
2- Sharing settings between team members
. You need a general approach to eliminate human error when working with the settings.
4- Django settings are a Python code
. This is a curse and a blessing at the same time.
12 Factors is a collection of recommendations on how to build distributed web-apps that will be easy to deploy and scale in the Cloud.
Keep settings in environment variables.
Write default values for production configuration (excluding secret keys and tokens).
Don’t hardcode sensitive settings, and don’t put them in VCS.
Split settings into groups: Django, third-party, project.
Follow naming conventions for custom (project) settings.
SSH, or Secure Shell, is a remote administration protocol that allows users to control and modify their remote servers over the Internet.
Symmetric encryption is a form of encryption where a secret key is used for both encryption and decryption of a message by both the client and the host. Effectively,
Unlike symmetrical encryption, asymmetrical encryption uses two separate keys for encryption and decryption. These two keys are known as the public key and the private key.
hashing is another form of cryptography used in Secure Shell Connections.