๐Authentication
This repo contains all types of security best practices for handling authentication
1. How to handle secure password while connecting with the Database ?
Problem
// Non compliant code
# settings.py
DATABASES = {
'postgresql_db': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'quickdb',
'USER': 'sonarsource',
'PASSWORD': '', # Noncompliant
'HOST': 'localhost',
'PORT': '5432'
}
}
Last updated