Stale IP addresses clog up your database with useless data, not to mention, may be subject to subpoena by legal authorities in some jurisdictions.
The IP Anonymize module helps ensure users' privacy (and compliance with data protection and consumer privacy regulations such as GDPR, CCPA/CPRA, etc.) by implementing a retention policy for IP addresses logged in Drupal's database tables. IP addresses are scrubbed on each cron run according to a configurable retention period. For example, you may wish to preserve IP addresses for a short while for purposes of identifying spam.
IP Anonymize cannot guarantee anonymity, as IP addresses are recorded at least temporarily, and may also be logged elsewhere in the system such as webserver error logs.
Built-in support:
- Core
- Sessions
- Comments
- Database log
- Commerce
- Login History
- Simple Access Log
- Tether Stats
- Ubercart
- User IP Log
- Visitors
- Voting API
- Webform
- YAML Form
Built-in Drupal 7 support:
- Core
- Sessions
- Comments
- Database log
- Statistics
- Commerce
- Login Activity
- Login History
- Tether Stats
- Ubercart
- User IP Log
- User Stats
- Visitors
- Voting API
- Webform
Similar modules:
Cryptolog logs ephemeral identifiers—a keyed hash in IPv6 notation using a random salt which is stored in memory and regenerated each day—rather than IP addresses. Unlike IP Anonymize, client IP addresses never touch Drupal's logs or database tables.
You can support development by contributing or sponsoring.
Project information
- Module categories: Administration Tools, Security, Integrations
- 848 sites report using this module
- Created by mfb on , updated
- Drupal 10 is here!
The 8.x-1.x branch is compatible with Drupal 10.
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 8.x-1.x-dev updated 11 Apr 2024 at 04:18 UTC
Development version: 7.x-1.x-dev updated 10 Jan 2023 at 22:42 UTC