Django plug adminrestrict v3.0 released with new features

20 views
Skip to first unread message

robromano

unread,
Dec 12, 2020, 12:16:08 PM12/12/20
to Django users
I'm happy to report that v3.0 of the django-adminrestrict plugin has been released.

In development since 2014, django-adminrestrict secures access to the Django admin pages. It works by blocking requests for the admin page path unless the requests come from specific IP addresses, address ranges or domains that you specify in a model.

Release Notes
  • New feature (setting ADMINRESTRICT_BLOCK_GET = True) to enable this middleware to filter access for ALL accesses to admin page URLs (GET or POST).
  • New feature (setting ADMINRESTRICT_DENIED_MSG = "custom msg") to allow custom body for 403 denied responses.
  • New feature (setting ADMINRESTRICT_ALLOW_PRIVATE_IP = True) to allow all RFC1918 addresses to access admin pages regardless of entries in AllowedIP table
  • New feature to support allowing access in the AllowedIP table via CIDR ranges.
  • New feature to support allowing access in the AllowedIP table via domain names. Use case: dynamic DNS domain names.
Get it at pypi:

Get it at github:


Reply all
Reply to author
Forward
0 new messages