Skip to content

Your site might have a backdoor, SVN is handing out the key to everyone

A lot of sites have forgotten to protect their SVN. It’s easy to check if your site is open for grabs,  just see if you can access  http://YOURSITE/.svn/entries

To protect your site, add the following to your .htaccess file:

<ifmodule mod_rewrite.c>
RewriteRule ^(.*/)?\.svn/ - [F,L]
ErrorDocument 403 "Access Forbidden"
</ifmodule>

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

@soderlind on Twitter:

Powered by Twitter Tools

Rodney's 404 Handler Plugin plugged in.