Coder Social home page Coder Social logo

odp's Introduction

Secure Web Application :: Ochrona Danych Projekt

Individual project from the Data Security in Information Technology Systems course at the Warsaw University of Technology. App is written in Python 2.7, primarily based on Vial and Jinja2.

UPDATE: It is one of my first Python apps, so please be understanding ;)

Functionality:

  • Strict verification of data from all forms
  • Storing password hashes with salt
  • Uploading files with any extension
  • Sending public code snippets
  • Security tokens (against XSRF attacks)
  • Hashing password multiple times
  • Verifying the number of unsuccessful login attempts
  • Password verification delay (against brute-force attacks)
  • Checking password difficulty (its entropy)
  • Ability to regain access to accout using e-mail
  • Possibility to change password
  • Informing users about new connections to their account

Usage

Install python packages from requirements.txt :

pip install -r requirements.txt --user

Change server socket in drink.ini file if needed:

[uwsgi]
socket = 127.0.0.1:1337
protocol = http
module = drink:app
plugins = python

Set login credentials for password-reminder e-mail account and (optionally) your domain in params.py:

param_dict = {
    'domain': '127.0.0.1',
    'db_file': 'database.db',
    'mail_user': '[email protected]',
    'mail_password': 'ExamplePassword1234',
    'mail_smtp': 'smtp.gmail.com',
    'mail_port': 587,
}

Run UWSGI with provided config file :

uwsgi --ini drink.ini

Screenshots

home page register page
upload file view snippet

odp's People

Contributors

scresh avatar

Watchers

 avatar  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.