As a solution my hoster has changed .htaccess and now mod_rewrite returns "403 Forbidden" on request for /data/security.png. So DokuWiki has no access to security.png like before but without raising IP blocking errors. This are the changes on .htaccess:
RewriteEngine on
RewriteRule (.*) - [F]
Maybe it can help for users with the same problem...