Skip to content

Commit c94db53

Browse files
committed
Two additions to the deployment checklist.
Thanks Erik Romijn.
1 parent 912b5d2 commit c94db53

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/howto/deployment/checklist.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ connections from your application servers.
9393
Database connection parameters are probably different in development and in
9494
production.
9595

96+
Database passwords are very sensitive. You should protect them exactly like
97+
:setting:`SECRET_KEY`.
98+
9699
For maximum security, make sure database servers only accept connections from
97100
your application servers.
98101

@@ -130,7 +133,9 @@ the login/password, the session cookie, and password reset tokens. (You can't
130133
do much to protect password reset tokens if you're sending them by email.)
131134

132135
Protecting sensitive areas such as the user account or the admin isn't
133-
sufficient, because the same session cookie is used for HTTP and HTTPS.
136+
sufficient, because the same session cookie is used for HTTP and HTTPS. Your
137+
web server must redirect all HTTP traffic to HTTPS, and only transmit HTTPS
138+
requests to Django.
134139

135140
Once you've set up HTTPS, enable the following settings.
136141

0 commit comments

Comments
 (0)