smahesh29 / Django-WebApp

This is a web-app created using Python, Django. By using this user can login, upload files and also can view and download files uploaded by other users.
MIT License
455 stars 349 forks source link

Secret key #17

Open Tanishq-Tiwari-28 opened 1 year ago

Tanishq-Tiwari-28 commented 1 year ago

Keep the secret key secret because it can be responsible for vulnerable attacks if exposed. Below are steps to follow:

  1. install a package called "environ" to read the content of .env files. .env files contain sensitive info and should be kept secret and should not be pushed into git rep.
  2. change settings.py to achieve the functionality of keeping the secret key secret.