Giter Site home page Giter Site logo

shreekeshavan / registration-and-login-system Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 32 KB

๐Ÿ› ๏ธ Developed a simple login system using python file handling techniques that supports register, login, and forgot password. ๐Ÿ”๐Ÿ”‘๐Ÿ“

Home Page: https://github.com/ShreeKeshavan/Registration-and-Login-System

Jupyter Notebook 100.00%
basic-data-storage conditional-logic data-validation file-handling python user-authentication oops-in-python

registration-and-login-system's Introduction

Registration-and-Login-System using Python-File Handling

Overview

This project presents a secure and user-friendly Registration-and-Login-System implemented in Python, incorporating file handling techniques. Designed for educational purposes, the system offers user registration, login verification, and password retrieval functionalities, ensuring a seamless user experience.

Table of Contents

Features

  • User Registration: The system validates email/username and password inputs, storing user credentials securely in a file.
  • User Login: User credentials are verified against stored data, granting access upon successful validation.
  • Forgotten Password Retrieval: Users can retrieve passwords by providing their username.

Requirements

  • Python 3

Usage

  1. Run the ipynb file: Registration_&_Login_System.ipynb
  2. Choose between registration or login.
  3. Enter your email/username and password as prompted.
    • For registration, valid inputs are stored securely after validation.
    • For login, credentials are cross-checked against stored data.

Workflow

Stage 1: Registration

  • Validate email/username:
    • Must contain "@" followed by a "."
    • Cannot have "." immediately after "@"
    • Should not start with special characters or numbers
  • Validate password:
    • Must be between 5 and 16 characters
    • Requires at least one special character, digit, uppercase, and lowercase character

Stage 2: Data Storage

  • Validated username and password securely stored in a file.

Stage 3: Login

  • Validate user-provided username and password against stored data.
    • If credentials do not exist, prompt the user to register.
    • If "forgot password" is chosen, retrieve the original password based on username (if in file) and allow the user to set a new password.
    • If no match is found, guide the user to register.

Tools & Skills

  • Python Programming: Developed the entire system using Python.
  • File Handling: Implemented secure data storage and retrieval using file handling techniques.
  • Data Validation: Ensured user inputs met specific criteria for registration and login.

Contribution

Contributions and suggestions are welcome! Please open an issue or pull request if you have any feedback.

registration-and-login-system's People

Contributors

shreekeshavan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.