#Django Security Best Practices

1 messages · Page 1 of 1 (latest)

mighty bobcat
#

A few points:

  • What library is django-sql-injection and what does it provide above Django's built-in protection?
  • Why on earth are you suggesting people use |safe to "escape user-provided data before displaying it in templates"? That's the exact opposite use case, and actively enables XSS!!
  • it claims Django has built-in rate limiting with APIView. It does not.

This entire article has the vibe of being written by ChatGPT. Why are you sharing an old, incorrect, AI-hallucinated and downright harmful article?

broken seal
#

Have you used Google before?
And please be respectful to other members, especially when they have already demonstrated their dedication to helping other members of the community.

mighty bobcat
#

I already pointed out one way it's harmful: encouraging the use of the safe filter for its exact opposite purpose.