# Want to add security to my django project

**URL:** <https://forum.djangoproject.com/t/want-to-add-security-to-my-django-project/20096>\
**Category:** Deployment\
**Created:** [April 6, 2023, 8:03am UTC](https://forum.djangoproject.com/t/want-to-add-security-to-my-django-project/20096 "2023-04-06T08:03:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhairya-Vora](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/dhairya-vora/32/13064_2.png) [@Dhairya-Vora](https://forum.djangoproject.com/u/Dhairya-Vora)\
**Post date:** [April 6, 2023, 8:03am UTC](https://forum.djangoproject.com/t/want-to-add-security-to-my-django-project/20096/1 "2023-04-06T08:03:46Z")

</div>

I want to send my Django logs to an siem such as Splunk and add more security features. Can any one guide me with this?

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [April 6, 2023, 5:08pm UTC](https://forum.djangoproject.com/t/want-to-add-security-to-my-django-project/20096/2 "2023-04-06T17:08:54Z")

</div>

In general, I’ve seen splunk work more on a “pull” configuration and not “push”, so getting splunk set up to ingest the Django-related logs is an issue of configuring splunk for the location of those log files.

In this case, that set should include both your webserver logs (nginx / uwsgi / gunicorn / whatever) and any Django-specific logs you might be generating.

---

<div class="post-metadata">

**Author:** ![mateomateohudson1112](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/mateomateohudson1112/32/13559_2.png) [@mateomateohudson1112](https://forum.djangoproject.com/u/mateomateohudson1112)\
**Post date:** [May 3, 2023, 5:17pm UTC](https://forum.djangoproject.com/t/want-to-add-security-to-my-django-project/20096/3 "2023-05-03T17:17:41Z")

</div>

Always validate user input to prevent malicious data from being submitted. This includes checking for SQL injection attacks, cross-site scripting attacks, and other types of vulnerabilities.

---

<div class="post-metadata">

**Author:** ![mateomateohudson1112](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/mateomateohudson1112/32/13559_2.png) [@mateomateohudson1112](https://forum.djangoproject.com/u/mateomateohudson1112)\
**Post date:** [May 23, 2023, 2:18pm UTC](https://forum.djangoproject.com/t/want-to-add-security-to-my-django-project/20096/4 "2023-05-23T14:18:27Z")

</div>

Furthermore[,](https://lesturf.fr/pronostic-quinte-du-mercredi-24-mai-au-croise-laroche/) implement robust authentication and authorization mechanisms like Django’s built-in authentication system or third party liberaries such as django REST framework to control access to your project resources.
