We face currently the problem to allow people access to parts of a subversion repository (1.5.x, soon 1.6.x), that is secure in other parts. Let me give you some details:
DAV svn
SVNPath /export/subversion/PROJ1
SVNAutoversioning on
#Authentication
AuthType Basic
AuthName "Subversion PROJ1"
AuthBasicProvider ldap
AuthLDAPBindDN ""
AuthLDAPBindPassword 'xxxxx'
AuthLDAPURL "ldap://?sAMAccountName?sub?(objectClass=*)"
Require valid-user
#Authorization
AuthzSVNAccessFile /etc/subversion/projects/PROJ1/authUsers
(does anyone know why the Location-block does not show up? If you know, please edit it correctly)
Currently we have to copy the documents we want to share in a special subversion repository that is not secured, so that the people can read there. But we loose the possibilities of subversion, eg. the history of the files.
Is there any way we can reach such a setup: Apache web server, one subversion repository, some parts accessible to everyone without login, most parts secured by base login.
My buddy wrote an entry on this exact thing a while back:
https://digital.ai/catalyst-blog/authz-and-anon-authn-agony
He has a few suggestions in there about how you might handle this, although I'm not guaranteeing you'll agree with the options.