Using SVN makes your site extremely vulnerable
translate.google.com
Using SVN makes your site extremely vulnerable
1–10 of 51 posts
Re: Using SVN makes your site extremely vulnerable
#2Re: Using SVN makes your site extremely vulnerable
#3Re: Using SVN makes your site extremely vulnerable
#4tl;dr Don't accidentally leave an svn working copy available to the internet, it could be a security vulnerability.
Re: Using SVN makes your site extremely vulnerable
#5Re: Using SVN makes your site extremely vulnerable
#6tl;dr Don't accidentally leave an svn working copy available to the internet, it could be a security vulnerability.
Re: Using SVN makes your site extremely vulnerable
#7Using a working copy as your website is a pretty bad idea. That's what svn export is meant for.
It's especially bad because svn puts a .svn in each directory. With e.g. mercurial or git, you can tuck the (visible) site in a subdirectory of the repo itself (project/pages), and the .hg/.git (project/.hg|project/.git) won't be accessible.
Of course the best option is still to use exports and symlinks.
Re: Using SVN makes your site extremely vulnerable
#8Are they saying that people can read your code (not actually a problem for open source projects) or that they can update it and thus alter your site?
The former doesn't seem so bad - the latter is obviously catastrophic.
I wish I spoke Russian...
Re: Using SVN makes your site extremely vulnerable
#9Using a working copy as your website is a pretty bad idea. That's what svn export is meant for.
I use Mercurial on all my websites (disabling access to .*/.hg of course) and never use FTP for anything.
Re: Using SVN makes your site extremely vulnerable
#10tl;dr Don't accidentally leave an svn working copy available to the internet, it could be a security vulnerability.
Actually, TFA isn't about svn repositories but about using working copies for your production site, and leaving .svn world-readable. svn repositories tend to at least use some kind of HTTP auth (if not https or ssh), but a world-readable .svn means your whole project is available.