On Jun 9, 2011, at 11:35, Rick Varney wrote:

>> (I really, really don't recommend file based access for clients.) 
>  
> I think you have some good reasons for this last statement,
> but they are not obvious to me.  Could you elaborate some
> more on why you don't recommend this?

file:///-protocol-based access is not appropriate for a production repository, 
because any user can circumvent any hook scripts or access controls you've put 
in place, and can even delete the entire repository with a couple keystrokes. 
file:/// protocol is for testing purposes only, before you've gotten around to 
setting up a server process.

The main point is that file access to the repository must be restricted to just 
the user the repository is being served under, so that regular users do not 
have that level of access. But it's probably fine if you have some admin 
scripts that run on the same server and under that same user and use the 
file:/// protocol for those.



Reply via email to