{ "info": { "author": "Kirit Saelensminde", "author_email": "kirit@felspar.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "IP based authentication for Django\n==================================\n\nTo install add the middleware to ``MIDDLEWARE_CLASSES``:\n\n::\n\n 'django_ip_authn.authentication.Middleware',\n\nYou also need to add the authentication backend to\n``AUTHENTICATION_BACKENDS``. This will probably not already exist, in\nwhich case you will want the entirety of this:\n\n::\n\n AUTHENTICATION_BACKENDS = (\n 'django.contrib.auth.backends.ModelBackend',\n 'django_ip_authn.authentication.Authenticate',\n )\n\nBy default it will not authenticate until you also add in the IP numbers\nthat it should allow:\n\n::\n\n VALID_IP_NUMBERS = [\n '127.0.0.1', '127.0.1.1', # Allow only localhost IP numbers\n ]\n\nCurrently it will automatically allow the user with ID 1, this is the\nuser that you create during the initial database creation in Django.\n\nThere is an optional header to determine which ``request.META`` header\nvalue to use to get the remote IP number. This defaults to\n``REMOTE_ADDR``. If you are behind a HTTP router you may need to set\nthis to something like the X-Forwarded-For:\n\n::\n\n REMOTE_IP_HEADER='HTTP_X_FORWARDED_FOR'\n\nMake sure that your HTTP router always sets this or you will open the\npossibility for a remote client to get around the IP number check by\njust setting a header on the request.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Felspar/django-ip-authn", "keywords": "django authn authentication ip", "license": "Boost Software License - Version 1.0 - August 17th, 2003", "maintainer": null, "maintainer_email": null, "name": "django_ip_authn", "package_url": "https://pypi.org/project/django_ip_authn/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django_ip_authn/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Felspar/django-ip-authn" }, "release_url": "https://pypi.org/project/django_ip_authn/0.3.0.1/", "requires_dist": null, "requires_python": null, "summary": "IP number based authentication for Django", "version": "0.3.0.1" }, "last_serial": 712792, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "0c124d7e4b8a9f74b2c6b42acab91516", "sha256": "6ec8ec208000c2cb9058e8d503a28c1965d7d04b6a9eb5cfcf9bc3e9ede0f3a2" }, "downloads": -1, "filename": "django_ip_authn-0.2.tar.gz", "has_sig": false, "md5_digest": "0c124d7e4b8a9f74b2c6b42acab91516", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2100, "upload_time": "2012-02-15T04:36:14", "url": "https://files.pythonhosted.org/packages/33/8f/4dc241893a27e2cd9fd593cc42cd071d6aad2920def044f6e61b0496d4d5/django_ip_authn-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "6205eea330d875a57368d92c7c2618c9", "sha256": "8c44751647b887824a7c7ab031786ed81dbc9c0def50b2b37c57f7e3a4ace873" }, "downloads": -1, "filename": "django_ip_authn-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6205eea330d875a57368d92c7c2618c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1654, "upload_time": "2012-05-09T13:35:45", "url": "https://files.pythonhosted.org/packages/2b/5b/c0ac1f19908b5c49f29ef8541a5f3a8d547173ebe2d7a16a77312dc8af7d/django_ip_authn-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "891f8ee37c818db0e46fc321d36b4af5", "sha256": "ae0c32ba4149082ea2a7504fa3cbaefa1e0899c9de30a5e212511fbda4534fec" }, "downloads": -1, "filename": "django_ip_authn-0.2.2.tar.gz", "has_sig": false, "md5_digest": "891f8ee37c818db0e46fc321d36b4af5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1651, "upload_time": "2012-05-10T08:03:20", "url": "https://files.pythonhosted.org/packages/21/3d/4df95be06a570f4e7e3d643e6f5e50ed836fb3bd756533c01ec573afd634/django_ip_authn-0.2.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "280e2453ae8b5b5dde051df54db98a9e", "sha256": "f9925afa88b7741dce3518e007ec5982d2c6f8df36e5220c816e32086a1f2184" }, "downloads": -1, "filename": "django_ip_authn-0.3.tar.gz", "has_sig": false, "md5_digest": "280e2453ae8b5b5dde051df54db98a9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1687, "upload_time": "2013-04-17T07:13:53", "url": "https://files.pythonhosted.org/packages/17/68/f71dee920c7b704a763e4ce6327b633337cdf520d3de82ff28a686fcc08d/django_ip_authn-0.3.tar.gz" } ], "0.3.0.1": [ { "comment_text": "", "digests": { "md5": "2be797519886a4bbb4ac8f848f7d015e", "sha256": "791567edd38ee6869e9138b4c61c01e5b8e28fa26bfef186d4a58e7cc0cb1cef" }, "downloads": -1, "filename": "django_ip_authn-0.3.0.1.tar.gz", "has_sig": false, "md5_digest": "2be797519886a4bbb4ac8f848f7d015e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2412, "upload_time": "2013-04-20T04:00:03", "url": "https://files.pythonhosted.org/packages/da/94/167a87a72eb5be08a0ba7b58026caa1f81920a505687db4a2467cb33f89f/django_ip_authn-0.3.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2be797519886a4bbb4ac8f848f7d015e", "sha256": "791567edd38ee6869e9138b4c61c01e5b8e28fa26bfef186d4a58e7cc0cb1cef" }, "downloads": -1, "filename": "django_ip_authn-0.3.0.1.tar.gz", "has_sig": false, "md5_digest": "2be797519886a4bbb4ac8f848f7d015e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2412, "upload_time": "2013-04-20T04:00:03", "url": "https://files.pythonhosted.org/packages/da/94/167a87a72eb5be08a0ba7b58026caa1f81920a505687db4a2467cb33f89f/django_ip_authn-0.3.0.1.tar.gz" } ] }