This plugin implements network isolation for Redmine attachments, controlling access permissions based on upload and download IP addresses.
- Copy the plugin directory to Redmine's
plugins/directory - Run database migrations in the Redmine directory:
bundle exec rake redmine:plugins:migrate RAILS_ENV=production - Restart the Redmine service
- Log in to Redmine as an administrator
- Go to "Administration" → "Plugins" → "Redmine IP Fence Plugin"
- Configure internal network IP ranges (one IP range per line, wildcard * is supported)
- Upload a file from an internal IP - it should be marked as sensitive
- Attempt to download a sensitive file from an external IP - access should be denied
- Download a file from an internal IP - access should be allowed