Total Pageviews

Thursday 12 June 2014

adrianremembersme-django

Download the newest version 0.9

The goal of this project is to provide a basic toolset to sites that need user authentication and creation on Google App Engine , independent of google accounts. You can just plug-in and have an off-the-shelf:
  • Account creation / login and logout.
  • Remember-me feature according to best practices.
  • Email authentication and confirmation.
  • Profile pictures.
  • Basic security monitoring and detection.
  • Ajax/Javascript-powered usability.
Recent upgrades include:
  • Email handling for forgotten password notification
  • Nicer-looking default HTML in templates
  • Rate limiting library for some dictionary attack detection 

Instructions

This project uses Django(1.2 or 1.1) inside Google App Engine without the GAE Patch, so it will only work with Google App Engine SDKs versions greater or equal to 1.2.3.
To Test the adrianremembersmeapp Django application
  1. Download the zip file
  2. Unzip the contents
  3. Start the GAE dev server inside the unzipped folder, e.g. /path/to/google_appengine/dev_appserver.py adrianremembersme-django-x.x/ (on Windows, the dev_appserver.py is on the PATH,so you can just type dev_appserver.py adrianremembersme-django-x.x/)
  4. Go to http://localhost:8080 on your browser
To start a project using Django 1.2 and Google App Engine SDK 1.2.3 or higher
  1. Start a project like indicated at the Django tutorial (http://docs.djangoproject.com/en/dev/intro/tutorial01/)
  2. Fix the settings.py file by removing any reference to the name of the project. For example, instead of 'youproject.yourapp' you should have 'yourapp'
  3. Add a main.py file on the project folder (same level as apps) which should read as this main file (at minimum, because this main file doesn't handle logging stuff) and use an app.yaml that should at least look like this app file (at minimum, because this app.yaml file doesn't have any static dir). You may look at http://code.google.com/appengine/articles/django.html for more details on missing stuff.
To use the adrianremembersmeapp Django application in your own project
  1. Download the zip file
  2. Unzip the contents
  3. Copy the adrianremembersmeapp folder (which is inside the adrianremembersme-django-x.x/) into your your own project folder
  4. Add the adrianremembersmeapp application to the list of INSTALLED_APPS on your project's settings.py file, which should be at your projects top level folder
  5. Add the URLs for the new app under a prefix by adding the following line to the urlpatterns list of patterns in the urls.py file: ('adrianremembersme/', include('adrianremembersmeapp.urls')),
  6. Test the project on http://localhost:8080/adrianremembersme

Current Developers

Adrian Adrian Scott, Ph.D. -- founding investor in Napster, founder of Ryze (pioneering social networking site founded in 2001), CoderBuddy Team
Luis CoderBuddy Team
Vitor CoderBuddy Team
Mariano CoderBuddy Team

Relevant Links

project in action
Persistent Login Cookie Best Practice
Guide to Authentication (OWASP the free and open application security community)

from https://code.google.com/p/adrianremembersme-django/