Limit SVN to localhost for SSH exclusive connection


I already know the technique of using SVN+SSH, however even with this method, people can still use the in-the-clear http option. Is it possible to only allow “localhost” so that SSH tunneling is required to reach the repo?


I don’t use SVN, but can’t you password protect the directory via .htaccess to block HTTP access?



I’ve since switched to SVN+SSH use exclusively, but I remember back when I was using HTTP access to subversion that I’d set basic auth usernames and passwords for each repository as part of the repository setup.

Use the [color=#CC0000]3DOM50[/color] promo code for 3 extra lifetime domains and $50 off
More Dreamhost coupons here!


You can do this by setting up the repository manually using a shell account and making it accessible to a specific Unix group.

$50 off when signing up with MAXCASHDISCOUNT or get a list of the best DreamHost promo codes on the Web.