This can be achieved using the svnaccess.conf file. Assuming you are using Windows domain authentication, here is one way to provide folder-level access to users. (sample section of svnaccess.conf file)
[repo: / trunk / samplefolder]
* =
@repo_restricted_users = r
@repo_super_users = rw
Here, repo_restricted_users and repo_super_users are user groups that must be defined earlier in the svnaccess.conf file - this way:
repo_restricted_users = john.doe, tom.riddle
repo_super_users = harry.potter, lord.voldemort
This will provide read access only to the samplefolder folder in the repository, while other folders will be closed. Hope this helps.
source share