Skip to content

nnoori/web.py-user-management

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Web.py User Management System

Soooooo, this whole idea erupted when I realized that I love web.py, but have no good way of managing user accounts. Granted, I've never made a user-management system before, so this probably isn't gold. However, it's also probably not the worst thing out there (of that I can guarantee).

Requirements

- [web.py](http://www.webpy.org/) - A very lightweight hosting platform for Python. - [Python 2.6/2.7](http://www.python.org/) - The python programming language interpreter.

Questions you probably have...

What the hell can it do?

Not a whole lot. It gives a basic outline of how to add/delete/login/logout (of) user accounts. The demo is written for SQLite; but it's simply a matter of rewriting the table creation code to get it to function with any other SQL driven database system supported by the web.db module.

How secure is this?

(These are initial comments of the originator) To be completely honest, I'm not really sure. The passwords are salted and are hashed using SHA256 (which sounds secure enough, imho). Though -- I'd probably investigate a bit further before deploying this and accepting credit-cards or something equally stupid. As one of the motivating factors for me was to add user-management to an in-house intranet, I make no guarantees of this products security.

How to run the code!

Need to make sure that data.db file exists in /data folder

Need to make sure the Users table exists in the data base. Either run SQL query from outside or use the code - both works

Run start.py

//list

About

Basic user-management implementation for web.py server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%