views:

592

answers:

2

I want that everytime someone wants to checkout the project from SVN he/she will be prompted for credentials. This happens when someone tries to commit something, but not at checkout. Here is the svnserve.conf section :


[general]
anon-access = none
auth-access = write
password-db = passwd

I figured that by setting anon-access to none, this will prompt for a username & password, but this doesn't seem to happen. How can I fix this? What do I need to change?

+1  A: 

As far as I know you can't ensure that every access will prompt the user for the password as the clients usually do cache the password. Or do you want to make read accesses password protected regardless of client caching?

bluebrother
i know caching happens, but the first time, a client still need to enter his password. the caching is done client-side.
Geo
I did say that clients do cache, did I? Unfortunately your question was unclear in that regard -- at least to me.
bluebrother
+5  A: 

You have to set

auth-access = rw

a checkout doesn't write, it only reads. If you want to have your users enter their credentials on a checkout, you have to make reads also authenticated.

Stefan
Geo
after adding auth-access = read and auth-access = write, it worked.
Geo