SVN Exposure

May 08, 2006

If you’re a web designer that, like me, manages your sites using Subversion source control (and not necessarily with Rails, but just in general), you might want to read this article written at Hivelogic concerning “SVN Exposure”. I realized a few projects I had worked on were not protected, but with the help of a little .htaccess magic:

RewriteRule ^(.*/)?.svn/ - [F,L] ErrorDocument 403 "Access Forbidden"

I was able to fix the problem.

Sorry, comments are closed.