<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mushi Dharun A</title>
    <description>The latest articles on DEV Community by Mushi Dharun A (@zetra).</description>
    <link>https://dev.to/zetra</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3973958%2Fc0e1020f-3dcb-430d-bd79-40f3b53639ce.jpg</url>
      <title>DEV Community: Mushi Dharun A</title>
      <link>https://dev.to/zetra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zetra"/>
    <language>en</language>
    <item>
      <title>Building a Secure Authentication System with Django</title>
      <dc:creator>Mushi Dharun A</dc:creator>
      <pubDate>Mon, 08 Jun 2026 10:49:12 +0000</pubDate>
      <link>https://dev.to/zetra/building-a-secure-authentication-system-with-django-2kbk</link>
      <guid>https://dev.to/zetra/building-a-secure-authentication-system-with-django-2kbk</guid>
      <description>&lt;h1&gt;
  
  
  Building a Secure Authentication System with Django
&lt;/h1&gt;

&lt;p&gt;Recently, I completed the development of a production-ready Secure Authentication System using Python and Django. This project was designed to implement modern authentication workflows while following established security practices and software engineering principles.&lt;/p&gt;

&lt;p&gt;The objective was to build a complete authentication framework without relying on external authentication providers. The system includes user registration, secure login, session management, access control, and protected application routes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Project Repository
&lt;/h2&gt;

&lt;p&gt;GitHub Repository:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/zetraplayz/DjangoAuthSystem" rel="noopener noreferrer"&gt;https://github.com/zetraplayz/DjangoAuthSystem&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Live Deployment:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://djangoauthsystem.onrender.com/" rel="noopener noreferrer"&gt;https://djangoauthsystem.onrender.com/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Technology Stack
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Backend
&lt;/h3&gt;

&lt;p&gt;Python&lt;/p&gt;

&lt;p&gt;Django Framework (Model View Template Architecture)&lt;/p&gt;

&lt;h3&gt;
  
  
  Frontend
&lt;/h3&gt;

&lt;p&gt;HTML5&lt;/p&gt;

&lt;p&gt;CSS3&lt;/p&gt;

&lt;p&gt;Bootstrap 5&lt;/p&gt;

&lt;h3&gt;
  
  
  Database
&lt;/h3&gt;

&lt;p&gt;SQLite&lt;/p&gt;

&lt;p&gt;Designed to support migration to MySQL or PostgreSQL with minimal configuration changes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Security Components
&lt;/h3&gt;

&lt;p&gt;PBKDF2 password hashing&lt;/p&gt;

&lt;p&gt;CSRF protection&lt;/p&gt;

&lt;p&gt;Session based authentication&lt;/p&gt;

&lt;p&gt;Django authentication framework&lt;/p&gt;

&lt;h2&gt;
  
  
  Core Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  User Registration and Authentication
&lt;/h3&gt;

&lt;p&gt;The system provides secure user registration and login functionality with validation checks for user credentials and account creation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Protected Application Routes
&lt;/h3&gt;

&lt;p&gt;Restricted pages are protected using Django authentication decorators, ensuring that only authenticated users can access secured resources.&lt;/p&gt;

&lt;h3&gt;
  
  
  Responsive User Interface
&lt;/h3&gt;

&lt;p&gt;The frontend follows a responsive design approach using Bootstrap 5, allowing consistent usability across desktop, tablet, and mobile devices.&lt;/p&gt;

&lt;h3&gt;
  
  
  User Feedback System
&lt;/h3&gt;

&lt;p&gt;Django's Messages Framework is integrated to provide real time feedback during authentication workflows such as successful registration, login failures, and logout confirmations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Development Experience
&lt;/h2&gt;

&lt;p&gt;This project strengthened my understanding of Django's Model View Template architecture and demonstrated how authentication systems are implemented in production environments.&lt;/p&gt;

&lt;p&gt;Key areas explored during development included:&lt;/p&gt;

&lt;p&gt;Understanding Django's authentication framework&lt;/p&gt;

&lt;p&gt;Implementing secure password storage mechanisms&lt;/p&gt;

&lt;p&gt;Managing authenticated user sessions&lt;/p&gt;

&lt;p&gt;Applying access control to application routes&lt;/p&gt;

&lt;p&gt;Using CSRF protection to secure form submissions&lt;/p&gt;

&lt;p&gt;Designing reusable templates and views&lt;/p&gt;

&lt;h2&gt;
  
  
  Example: Protecting Application Routes
&lt;/h2&gt;

&lt;p&gt;The following example demonstrates how Django restricts access to authenticated users:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;django.contrib.auth.decorators&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;login_required&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;django.shortcuts&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;render&lt;/span&gt;

&lt;span class="nd"&gt;@login_required&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;login_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;login&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;dashboard_view&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;render&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;dashboard.html&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With this implementation, unauthenticated users attempting to access the dashboard are automatically redirected to the login page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Building this project provided practical experience in authentication system design, web application security, and Django development. It also reinforced the importance of implementing security features as foundational components rather than optional additions.&lt;/p&gt;

&lt;p&gt;I welcome feedback, suggestions, and discussions regarding authentication systems, Django development, and web application security.&lt;/p&gt;

</description>
      <category>django</category>
      <category>webdev</category>
      <category>python</category>
      <category>security</category>
    </item>
    <item>
      <title>Hello DEV Community, I'm Mushi Dharun (Zetra) - Software Engineer, Developer, and Cybersecurity Enthusiast</title>
      <dc:creator>Mushi Dharun A</dc:creator>
      <pubDate>Mon, 08 Jun 2026 10:43:00 +0000</pubDate>
      <link>https://dev.to/zetra/hello-dev-community-im-mushi-dharun-zetra-software-engineer-developer-and-cybersecurity-1353</link>
      <guid>https://dev.to/zetra/hello-dev-community-im-mushi-dharun-zetra-software-engineer-developer-and-cybersecurity-1353</guid>
      <description>&lt;p&gt;Hello DEV Community&lt;/p&gt;

&lt;p&gt;My name is Mushi Dharun, also known as Zetra.&lt;/p&gt;

&lt;p&gt;I am a Software Engineer, Developer, and Cybersecurity Enthusiast who enjoys building software, exploring emerging technologies, and continuously improving my technical skills.&lt;/p&gt;

&lt;p&gt;My areas of interest include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Software Development&lt;/li&gt;
&lt;li&gt;Web Technologies&lt;/li&gt;
&lt;li&gt;Artificial Intelligence&lt;/li&gt;
&lt;li&gt;Cybersecurity&lt;/li&gt;
&lt;li&gt;Cloud Computing&lt;/li&gt;
&lt;li&gt;System Architecture&lt;/li&gt;
&lt;li&gt;Open Source Technologies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Currently, I am working on Project Zetra, a long term technology ecosystem focused on intelligent systems, modular architecture, security, and scalable software development.&lt;/p&gt;

&lt;p&gt;I joined DEV Community to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Learn from experienced developers&lt;/li&gt;
&lt;li&gt;Share my projects and learning journey&lt;/li&gt;
&lt;li&gt;Explore new technologies&lt;/li&gt;
&lt;li&gt;Contribute to technical discussions&lt;/li&gt;
&lt;li&gt;Connect with developers worldwide&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I believe that continuous learning and practical experience are the foundations of growth in technology.&lt;/p&gt;

&lt;p&gt;Thank you for reading my introduction. I look forward to learning, sharing knowledge, and engaging with the community.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;/p&gt;

&lt;p&gt;Mushi Dharun (Zetra)&lt;/p&gt;

</description>
      <category>introduction</category>
      <category>webdev</category>
      <category>cybersecurity</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
