Re: Group Based Access !!
From: John Szakmeister <john_at_szakmeister.net>
Date: 2007-01-08 10:40:57 CET
----- Himanshu Raina <raina_himanshu@yahoo.com> wrote:
That's a good question... looking at the code I don't see that local access would do what you want, and that makes perfect sense. The problem with local access is that you need access to the database backend in order to commit. At that point, you can no longer restrict people. I mean, we could, but it doesn't stop anyone from compiling their own version and gaining access to the restricted area, since authorization is being done by the client. On top of that, you risk someone being able to upgrade the repository without your permission, and of course, there's the accidental 'rm -rf'.
I'd use svnserve to serve the repository, and I'd do it as it's own user. The repository should be only readable and writable by that user (otherwise, your engineers can use the file:// protocol to read the restricted area). Then you just use svn:// to access everything. This allows you to chose when you want to upgrade the repository, it keeps prying eyes from seeing unauthorized data/information, and svn:// access is fast.
Hope that helps!
-John
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.