You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Himanshu Raina <ra...@yahoo.com> on 2007/01/17 04:41:39 UTC

Subversion over http !!

HI,

The scenario is give below.
I have 10 different repositories by means of which i cater to 10 different teams.I make use of http and it seems to work fine.The concern is how can i ensure that member of one team shuldn't be able to access another repository.

My repository structure is 

/usr/local/svn/repos1
/usr/local/svn/repos2
/usr/local/svn/repos3

Now if i access it over http i.e
http://myip.com/svn/repos1 -- it prompts me for a password and post authentication lists the directories.Since i make use of a single auth-file it doesn't prompt me for another authentication and as a result i can browse through any repository (provided i know the repos name)..Is there anyway i can avoid the same.

thanks and regards
Himanshu Raina




 
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 

Re: Subversion over http !!

Posted by Norbert Unterberg <ne...@gmx.net>.
Himanshu Raina schrieb:

> Now if i access it over http i.e
> http://myip.com/svn/repos1 -- it prompts me for a password and post 
> authentication lists the directories.Since i make use of a single 
> auth-file it doesn't prompt me for another authentication and as a 
> result i can browse through any repository (provided i know the repos 
> name)..Is there anyway i can avoid the same.

Yes. Read the subversion book (http://svnbook.red-bean.com/), in particular the 
chapter about server configuration --> Per-Directory Access Control. You need to 
configure an access file using the AuthzSVNAccessFile directive.

NOrbert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion over http !!

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 16, 2007, at 22:41, Himanshu Raina wrote:

> The scenario is give below.
> I have 10 different repositories by means of which i cater to 10  
> different teams.I make use of http and it seems to work fine.The  
> concern is how can i ensure that member of one team shuldn't be  
> able to access another repository.
>
> My repository structure is
>
> /usr/local/svn/repos1
> /usr/local/svn/repos2
> /usr/local/svn/repos3
>
> Now if i access it over http i.e
> http://myip.com/svn/repos1 -- it prompts me for a password and post  
> authentication lists the directories.Since i make use of a single  
> auth-file it doesn't prompt me for another authentication and as a  
> result i can browse through any repository (provided i know the  
> repos name)..Is there anyway i can avoid the same.

Perhaps authz and/or svnperms.py would help?

http://svnbook.red-bean.com/en/1.2/ 
svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz.perdir

http://subversion.tigris.org/tools_contrib.html#svnperms_py

-- 

To reply to the mailing list, please use your mailer's Reply To All  
function


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org