Django Security Tips

Django Security Tips

Update: 2021-10-05
Share

Description

Tip 1. Carefully handle user uploads If your web application allows users to upload files, you are opening yourself to an attack vector and the upload logic should, therefore, be handled carefully. It is important to validate all uploaded files to be sure they are what you expect (for instance, an image file and not a PHP script!) If your site accepts file uploads, it is strongly advised that you limit these uploads in your Web server configuration to a reasonable size in order to prevent denial of service (DOS) attacks.


Recommendation: https://www.freecodecamp.org/news/complete-back-en…


Sources:

https://docs.djangoproject.com/en/3.0/topics/secur…

https://owasp.org/www-project-top-ten/OWASP_Top_Te…

https://snyk.io/blog/django-security-tips/



Linkedin Feel free to contact me.

Comments 
loading
00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Django Security Tips

Django Security Tips