You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Calvin <sz...@hotmail.com> on 2005/07/15 22:12:32 UTC

SVN Security

I am trying to evaluate SVN. I want to switch to SVN from Perforce because I
am cheap.

But after I read the articles regarding SVN, sounds like it lacks a fatal
feature: Security?

I am using Windows 2k3, and I am a pure MSFT fan, don't want to pollute my
environment with any apache etc.

I need to be able to set securities like which user can access what folder,
which could be readonly, write, no access, ..., etc.

Is there a way to do it in SVN? Any existing solutions?

The IDE plug in is terrible, but I can live with it. The security is too
critical to ignore.

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

Re: SVN Security

Posted by Chris Jensen <cj...@edex.com.au>.
Ron Gilbert wrote:
>  >> ========
>  >> [/trunk]
>  >> john = rw
>  >> calvin = r
>  >> ========
> 
> I am really looking forward to the day when I can do something like  
> this using the svn server.

You can get pretty close. Look at hook scripts in the documentation. I'm 
pretty sure there's a contributed hook script in the collabnet svn 
repository that allows you to specify write access on a per directory basis.
(but AFAIK you can't stop everyone from reading the repository)

-- 
---------------------------------------------------------------------
Chris Jensen cjensen@edex.com.au

Educational Experience (Australia)
Postal Address: PO Box 860, Newcastle NSW 2300
Freecall:       1-800-025 270      International: +61-2-4923 8222
Fax:            (02) 4942 1991     International: +61-2-4942 1991

Visit our online Toy store! http://www.toysandmore.com.au/
---------------------------------------------------------------------

Re: SVN Security

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jul 16, 2005, at 10:15 AM, Ron Gilbert wrote:

>   This is also the reason I am hoping for a "needs-lock" for file  
> types that can be set on the server.

Why not enforce this right now?  Simply reject any commit which adds  
new binary-files that don't have the 'svn:needs-lock' property attached.


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

Re: SVN Security

Posted by Ron Gilbert <li...@rzweb.com>.
>> ========
 >> [/trunk]
 >> john = rw
 >> calvin = r
 >> ========

I am really looking forward to the day when I can do something like  
this using the svn server.  I can not alter Apache on my system, so  
hove no choice but to use svnserve (which is great, btw).

But not being able to have per-directory access is a real problem.  I  
have several projects that include programmers, artists, musicians  
and sound effect people.  I do not what all of them to be able to  
pull down the whole project.  I would (for example) give artists  
access to the /truck/Art folder only, etc, etc.

Currently I have them checkout from that point, and it works OK, but  
I have run into problems with people not connecting to the right  
point, and they pull down the whole project (Gigs of data!), or some  
other sub-folder called Art.  To make mattes worse, most of these  
people work from home, scatted all around the country, so I can't  
administer their local machines.   This is also the reason I am  
hoping for a "needs-lock" for file types that can be set on the server.

That said, svn is a dream compared to the other (non-pocketbook  
draining) solutions.

Ron


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

Re: SVN Security

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jul 16, 2005, at 7:34 AM, Ben Collins-Sussman wrote:
>
> Translation:  "SVN has all the features I want, but they're not  
> implemented in a way that's convenient for my corporate bias.  I  
> guess the features don't exist, then."
>

Calvin:  I apologize for my overly hostile, overly rude response.  I  
shouldn't have been so hot-headed when I wrote that.

The problem is: I think your posts have been quite provocative and  
bordering on "trolling".

Your first mail begins by asking a question that could have been  
answered by merely skimming the documentation.  Instead of reading  
the docs, you boldly claim that subversion is "missing a critical  
feature."  Actually, no, you simply decided to jump to a wrong  
conclusion without reading documentation.

Then, you use bad terminology to describe the feature you're looking  
for.  Rather than ask, "can subversion can control permissions on  
individual files?", you accuse subversion of having no "security".   
It may have just been a simple language misunderstanding... but to a  
native english speaker, saying that software "lacks security" sounds  
like you're accusing the product of being "insecure", which is a  
pretty large insult.  Again, this was probably just a translation  
problem.

But then you go on to saying that you don't want to "pollute your  
environment" with apache.  This again sounds like a troll... is  
something wrong with apache?  70% of all websites run apache, and yet  
it "pollutes" your system?  If I renamed apache to "super-deluxe- 
subversion-server 7.8", would you use it then?  Many people run  
apache *just* as a dedicated subversion server -- running alongside  
existing webservers -- but listening on a different port number.   
Both the book and FAQ talk about this.  Next time, just come right  
out and ask:  "can I run apache alongside IIS?"

Later on, you complain that SVN "forces" you to learn apache, that  
the per-directory permissions are "just too difficult to understand",  
and that our implementation of the feature isn't "decent".   This is  
not constructive criticism, it just sounds like laziness.  Per- 
directory permissions is an inherently complex feature, and you're  
going to have to learn how to set them up, whether you're using  
apache or svnserve as your server.  But somehow you assume that  
apache is "hard", and that when we eventually teach svnserve to do  
per-directory permissions, it will be "easy".  Guess what:  we're  
working on that adding that feature to svnserve feature right now,  
and it's sharing code with apache.  The exact same file that defines  
ACLs for apache is going to be used by svnserve as well.  It's not  
going to be any "easier" to understand.  If you have a specific  
suggestion to make the syntax more friendly, we'd like to hear about it.

Finally, in your last mail, you make the classic troll statement:   
"if your software had feature X, it would a killer app."  It sounds  
like blackmail, like you're threatening to not use the software  
unless we quickly change it to your liking.  There's a strange sort  
of hubris in that phrasing.  I think you're trying to say, "adding  
path-based permissions to svnserve would be good thing" (which  
everyone already agrees with!), but instead it comes off like a  
haughty demand, rather than a helpful suggestion.

In any case, I hope Subversion works out well for you.  Many people  
use it every day, and have no problems configuring path-based  
permissions.  If you read the book and have specific, constructive  
criticisms, or simply need help understanding things, please feel  
free to ask this list.



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

Re: SVN Security

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jul 16, 2005, at 7:23 AM, Calvin wrote:

> Yea, the only problem is Apache. I've already have IIS on my  
> server, not
> sure they can live together or not. I want to use SVN, so I can  
> learn. But
> SVN forces me to learn Apache, which I don't think I am going to  
> use it in
> any other way but SVN, kindof a waste.
>
> If SVN server can provide decent security configuration, it will be  
> a killer
> app.


Translation:  "SVN has all the features I want, but they're not  
implemented in a way that's convenient for my corporate bias.  I  
guess the features don't exist, then."

(It turns out, by the way, that someone *is* working on adding per- 
directory authorization to the standalone 'svnserve' server this  
summer, so it's likely we'll see that feature relatively soon.)


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

Re: SVN Security

Posted by Jim <ji...@clickculture.com>.
Calvin wrote:
> Yea, the only problem is Apache. I've already have IIS on my server, not
> sure they can live together or not. I want to use SVN, so I can learn. But
> SVN forces me to learn Apache, which I don't think I am going to use it in
> any other way but SVN, kindof a waste.

Why does SVN force you to learn Apache??  Apache is not a requirement 
for running SVN???  I've running SVN on Windows, and if security is a 
concern you can use SSH - no Apache needed.

I'm just getting started using SVN - been using it for maybe 6 months 
now. It's great! At some point I'll probably install Apache/HTTPs just 
to play with those features but IMO it works fine without it...  I 
primarily develop using Eclipse with the subsclipse plugin.

Jim


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

Re: SVN scripting

Posted by David Weintraub <qa...@gmail.com>.
Hmmm DOS...

Okay. Instead of using /bin/false as the parameter for the --diff-cmd,
create a one-line batch script with "exit /b 2" as the sole command.
Then pass this batch script as the parameter to your --diff-cmd. That
will prevent the file differences from being outputted in the "svn
diff" command.

Also, you can use the DOS "find" command that seems to work somewhat
like awk and grep:

$ svn diff --diff-cmd false.bat -r $start:$end $url | find "Index: "

Of course, the best thing to do is to download ActiveState Perl
(http://activestate.com/Products/ActivePerl/?psbx=1) or Cygwin
(http://cygwin.com/) and use a real scripting language. Perl is more
universal and more powerful scripting language, but you need
administrative rights to load it on your machine. Cygwin doesn't need
administrative priveledges, and you also get a lot of other very
powerful tools with it.

And for both Cygwin and Perl, like Subversion, the price is right. 

On 7/18/05, Andy Peters <de...@latke.net> wrote:
> David Weintraub wrote:
> 
> 
> > On 7/17/05, Calvin <sz...@hotmail.com> wrote:
> >
> >>I am new to SVN, got a question to script SVN.
> >>
> >>I need a list of files that has been changed between 2 revisions, say 3:10.
> >>
> >>I kindof like the svn diff to produce a list of files, which should be
> >>easier to parse using nant or something. But svn diff produce a list files
> >>hard to parse, and with content change to it.
> >>
> >>I am sure there should be such a command somewhere, who has it? :-)
>  >
>  > You can just get a listing of the changed files by doing this:
>  >
>  >     $ svn diff -r $start:$end $url | grep "^Index: "
>  >
>  > Or to remove the Index at the front of the line, use "awk"
>  >
>  >     $ svn diff -r $start:$end $url | awk -F: '/^Index: / {print $2}'
>  >
>  > You could also try substituting your own diff command to see what you
>  > get. Maybe just "echo" or "print"? You'll still get the "Index: "
>  > lines, but you can eliminate all of the textual differences that way
>  > too.
> 
> He's running Windows, so unless he's downloaded and installed either
> Cygwin or the Unixutils, your excellent suggestions aren't much help to him!
> 
> -a
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 


-- 
--
David Weintraub
qazwart@gmail.com

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


Re: SVN scripting

Posted by Andy Peters <de...@latke.net>.
David Weintraub wrote:


> On 7/17/05, Calvin <sz...@hotmail.com> wrote:
> 
>>I am new to SVN, got a question to script SVN.
>>
>>I need a list of files that has been changed between 2 revisions, say 3:10.
>>
>>I kindof like the svn diff to produce a list of files, which should be
>>easier to parse using nant or something. But svn diff produce a list files
>>hard to parse, and with content change to it.
>>
>>I am sure there should be such a command somewhere, who has it? :-)
 >
 > You can just get a listing of the changed files by doing this:
 >
 >     $ svn diff -r $start:$end $url | grep "^Index: "
 >
 > Or to remove the Index at the front of the line, use "awk"
 >
 >     $ svn diff -r $start:$end $url | awk -F: '/^Index: / {print $2}'
 >
 > You could also try substituting your own diff command to see what you
 > get. Maybe just "echo" or "print"? You'll still get the "Index: "
 > lines, but you can eliminate all of the textual differences that way
 > too.

He's running Windows, so unless he's downloaded and installed either 
Cygwin or the Unixutils, your excellent suggestions aren't much help to him!

-a

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

Re: SVN scripting

Posted by David Weintraub <qa...@gmail.com>.
You can just get a listing of the changed files by doing this:

    $ svn diff -r $start:$end $url | grep "^Index: "

Or to remove the Index at the front of the line, use "awk"

    $ svn diff -r $start:$end $url | awk -F: '/^Index: / {print $2}'

You could also try substituting your own diff command to see what you
get. Maybe just "echo" or "print"? You'll still get the "Index: "
lines, but you can eliminate all of the textual differences that way
too.

I was thinking that maybe the output of the "update" command could be
helpful. For example, you checkout revision 10, then do an update to
revision 25 and see what the update command prints out.

On 7/17/05, Calvin <sz...@hotmail.com> wrote:
> I am new to SVN, got a question to script SVN.
> 
> I need a list of files that has been changed between 2 revisions, say 3:10.
> 
> I kindof like the svn diff to produce a list of files, which should be
> easier to parse using nant or something. But svn diff produce a list files
> hard to parse, and with content change to it.
> 
> I am sure there should be such a command somewhere, who has it? :-)
> 
> Thanks,
> 
> Calvin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 


-- 
--
David Weintraub
qazwart@gmail.com

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


Re: SVN scripting

Posted by kf...@collab.net.
Calvin, your post appeared in an unrelated thread.  Please read:

   http://subversion.tigris.org/mailing-list-guidelines.html#fresh-post

Thank you.

-Karl

"Calvin" <sz...@hotmail.com> writes:
> I am new to SVN, got a question to script SVN.
> 
> I need a list of files that has been changed between 2 revisions, say 3:10.
> 
> I kindof like the svn diff to produce a list of files, which should be
> easier to parse using nant or something. But svn diff produce a list files
> hard to parse, and with content change to it.
> 
> I am sure there should be such a command somewhere, who has it? :-)
> 
> Thanks,
> 
> Calvin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

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

Re: svn diff

Posted by Russ Brown <pi...@gmail.com>.
Calvin wrote:
> Is there a way to show only the file names with diff?
> 
> Now we got the content in the output, which really is useless to me, and
> make this command too slow.
> 
> Looks like svnlook can do such a job, but it's running on the server side.
> 

Won't svn log -v do something more like what you're after? Just pipe it
into grep for the lines you want. Should be a lot quicker than using diff.

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


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

svn diff

Posted by Calvin <sz...@hotmail.com>.
Is there a way to show only the file names with diff?

Now we got the content in the output, which really is useless to me, and
make this command too slow.

Looks like svnlook can do such a job, but it's running on the server side.

Thanks,

Calvin


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

SVN scripting

Posted by Calvin <sz...@hotmail.com>.
I am new to SVN, got a question to script SVN.

I need a list of files that has been changed between 2 revisions, say 3:10.

I kindof like the svn diff to produce a list of files, which should be
easier to parse using nant or something. But svn diff produce a list files
hard to parse, and with content change to it.

I am sure there should be such a command somewhere, who has it? :-)

Thanks,

Calvin


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

RE: SVN Security

Posted by "steven.higgan" <st...@orcon.net.nz>.
Yes the apache thing is a bit of a stinker, for a lot of dev-shops it is a
'no-go' for svn. The only thing that will ever change that is somebody
familiar with the internals of IIS and SVN to write an IIS DAV_SVN isapi?
layer.

To answer your question, iis and apache will work fine together. Here is
what I do.

Apache and IIS6 are installed on my public server port 80 (public) & 8080
(private) respectively, Apache is the 'front server' it is setup to run svn,
trac, awstats and 'reverse-proxy' to my IIS server which handles all the
stuff I do to get paid.

The one and only reason apache is the public server is because the windows
version of 'reverse proxy' costs a stupid amount of money, otherwise it
would have been IIS proxying to Apache.

I have been using this configuration for about a year and a half with no
issues, however in the next month or so I will be shifting to dropping
apache (trac, awstats with it) and migrating to svn-ssh and other 'tools
that actually work' on IIS

As for the requirement for 'decent security', im surprised that you haven’t
been told to RTFM because its all in there.

-----------------------------------------------------
Steven H

-----Original Message-----
From: Calvin [mailto:szguoxz@hotmail.com] 
Sent: Sunday, 17 July 2005 12:23 a.m.
To: 'John'; users@subversion.tigris.org
Subject: RE: SVN Security

Yea, the only problem is Apache. I've already have IIS on my server, not
sure they can live together or not. I want to use SVN, so I can learn. But
SVN forces me to learn Apache, which I don't think I am going to use it in
any other way but SVN, kindof a waste.

If SVN server can provide decent security configuration, it will be a killer
app.

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of John
Sent: Saturday, July 16, 2005 5:23 AM
To: users@subversion.tigris.org
Subject: Re: SVN Security

Calvin <szguoxz <at> hotmail.com> writes:

> Well, The per-directory security is just too difficult to understand and
> implement.
> 
> Any plan to implement security feature in SubVersion in future?

I've been using SVN on win32 for about 18 months. The security features are
easy
to understand:

========
[/trunk]
john = rw
calvin = r
========

How difficult can that be?? Hopefully in time these permissions will be
embedded
in the repos itself, and will be enforced through all connection types.

The requirement for Apache on a windows box is less ideal when you are
running
IIS, but you'll grow to love Apache, and its easy configuration. It has a
proper
configuration file instead of loads of junk in the registry!!

Transparent config files are something Microsoft is (sloooowwwly!)
rediscovering
with .NET etc. Given a decade IIS will probably work much like Apache does
now... only it will take up 4 times the memory ;)

John


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


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



-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.0/50 - Release Date: 16/07/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.0/50 - Release Date: 16/07/2005
 


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


RE: SVN Security

Posted by Clint Stotesbery <cs...@hotmail.com>.
They will reside on the same server fine. If you want everything to use port 
80 though, you will need to disable socket pooling since IIS binds to every 
port 80 by default.
IIS6: http://support.microsoft.com/kb/813368/EN-US/
IIS5: http://support.microsoft.com/default.aspx?scid=kb;en-us;238131

One thing to note is that after disabling socket pooling and you add another 
IP address with httpcfg, you'll need to restart the IIS services to actually 
be able to use the address. That's the only issue I ever ran into. I've had 
no problems with Apache, it is an excellent piece of software. If you want 
to authenticate against Active Directory easily, then doing it through 
Apache is the way to go. SSL is also much easier to implement on Apache than 
on IIS in my experience. It won't hurt you to learn something new. I 
survived ;)

-Clint

----Original Message Follows----
From: "Calvin" <sz...@hotmail.com>
To: "'John'" <js...@subversion.tigris.org>
Subject: RE: SVN Security
Date: Sat, 16 Jul 2005 08:23:27 -0400
MIME-Version: 1.0
X-Originating-IP: [24.131.21.149]
X-Originating-Email: [szguoxz@hotmail.com]
X-Sender: szguoxz@hotmail.com
Received: from tigris.org ([64.125.133.100]) by mc4-f6.hotmail.com with 
Microsoft SMTPSVC(6.0.3790.211); Sat, 16 Jul 2005 05:25:31 -0700
Received: (qmail 19401 invoked by uid 5000); 16 Jul 2005 12:24:22 -0000
Received: (qmail 19379 invoked from network); 16 Jul 2005 12:24:22 -0000
X-Message-Info: JGTYoYF78jGRAqkcZJ48imMZroZk8iR+i2P1C36Uy6A=
Mailing-List: contact users-help@subversion.tigris.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
list-help: <ma...@subversion.tigris.org>
list-unsubscribe: <ma...@subversion.tigris.org>
list-post: <ma...@subversion.tigris.org>
Delivered-To: mailing list users@subversion.tigris.org
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
thread-index: AcWJ6Dl/AqwVFrjeSHKGy1bYGIedkQAGK2Ig
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-OriginalArrivalTime: 16 Jul 2005 12:24:22.0167 (UTC) 
FILETIME=[4BD35A70:01C58A01]
Return-Path: users-return-35394-cstotes=hotmail.com@subversion.tigris.org

Yea, the only problem is Apache. I've already have IIS on my server, not
sure they can live together or not. I want to use SVN, so I can learn. But
SVN forces me to learn Apache, which I don't think I am going to use it in
any other way but SVN, kindof a waste.

If SVN server can provide decent security configuration, it will be a killer
app.

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of John
Sent: Saturday, July 16, 2005 5:23 AM
To: users@subversion.tigris.org
Subject: Re: SVN Security

Calvin <szguoxz <at> hotmail.com> writes:

 > Well, The per-directory security is just too difficult to understand and
 > implement.
 >
 > Any plan to implement security feature in SubVersion in future?

I've been using SVN on win32 for about 18 months. The security features are
easy
to understand:

========
[/trunk]
john = rw
calvin = r
========

How difficult can that be?? Hopefully in time these permissions will be
embedded
in the repos itself, and will be enforced through all connection types.

The requirement for Apache on a windows box is less ideal when you are
running
IIS, but you'll grow to love Apache, and its easy configuration. It has a
proper
configuration file instead of loads of junk in the registry!!

Transparent config files are something Microsoft is (sloooowwwly!)
rediscovering
with .NET etc. Given a decade IIS will probably work much like Apache does
now... only it will take up 4 times the memory ;)

John


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


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



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

RE: SVN Security

Posted by Calvin <sz...@hotmail.com>.
Yea, the only problem is Apache. I've already have IIS on my server, not
sure they can live together or not. I want to use SVN, so I can learn. But
SVN forces me to learn Apache, which I don't think I am going to use it in
any other way but SVN, kindof a waste.

If SVN server can provide decent security configuration, it will be a killer
app.

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of John
Sent: Saturday, July 16, 2005 5:23 AM
To: users@subversion.tigris.org
Subject: Re: SVN Security

Calvin <szguoxz <at> hotmail.com> writes:

> Well, The per-directory security is just too difficult to understand and
> implement.
> 
> Any plan to implement security feature in SubVersion in future?

I've been using SVN on win32 for about 18 months. The security features are
easy
to understand:

========
[/trunk]
john = rw
calvin = r
========

How difficult can that be?? Hopefully in time these permissions will be
embedded
in the repos itself, and will be enforced through all connection types.

The requirement for Apache on a windows box is less ideal when you are
running
IIS, but you'll grow to love Apache, and its easy configuration. It has a
proper
configuration file instead of loads of junk in the registry!!

Transparent config files are something Microsoft is (sloooowwwly!)
rediscovering
with .NET etc. Given a decade IIS will probably work much like Apache does
now... only it will take up 4 times the memory ;)

John


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


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

Re: SVN Security

Posted by John <js...@ecclescollege.ac.uk>.
Calvin <szguoxz <at> hotmail.com> writes:

> Well, The per-directory security is just too difficult to understand and
> implement.
> 
> Any plan to implement security feature in SubVersion in future?

I've been using SVN on win32 for about 18 months. The security features are easy
to understand:

========
[/trunk]
john = rw
calvin = r
========

How difficult can that be?? Hopefully in time these permissions will be embedded
in the repos itself, and will be enforced through all connection types.

The requirement for Apache on a windows box is less ideal when you are running
IIS, but you'll grow to love Apache, and its easy configuration. It has a proper
configuration file instead of loads of junk in the registry!!

Transparent config files are something Microsoft is (sloooowwwly!) rediscovering
with .NET etc. Given a decade IIS will probably work much like Apache does
now... only it will take up 4 times the memory ;)

John


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

Re: SVN Security

Posted by Miha Vitorovic <mv...@nil.si>.
Branko Čibej <br...@xbc.nu> wrote on 16.07.2005 07:08:41:

> Calvin wrote:
> 
> >Well, The per-directory security is just too difficult to understand 
and
> >implement.
> > 
> >
> Ah. No comment.
> 
> >Any plan to implement security feature in SubVersion in future?
> > 
> >
> I'm curious, what is this "security feature" you're referring to?
> 

Yes, me too :) Also the road-map quite obviously states that better/proper 
ACLs are going to be implemented, but I guess you have to read it first. 

Anyway, I know that there was discussion on what features to implement in 
1.3. Have the winners been anounced yet?

Cheers,
---
  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer

   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si

Re: SVN Security

Posted by Branko Čibej <br...@xbc.nu>.
Calvin wrote:

>Well, The per-directory security is just too difficult to understand and
>implement.
>  
>
Ah. No comment.

>Any plan to implement security feature in SubVersion in future?
>  
>
I'm curious, what is this "security feature" you're referring to?

-- Brane


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

RE: SVN Security

Posted by Calvin <sz...@hotmail.com>.
Well, The per-directory security is just too difficult to understand and
implement.

Any plan to implement security feature in SubVersion in future?

-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@collab.net] 
Sent: Friday, July 15, 2005 6:43 PM
To: Calvin
Cc: users@subversion.tigris.org
Subject: Re: SVN Security


On Jul 15, 2005, at 5:12 PM, Calvin wrote:

> I am trying to evaluate SVN. I want to switch to SVN from Perforce  
> because I
> am cheap.
>
> But after I read the articles regarding SVN, sounds like it lacks a  
> fatal
> feature: Security?

<sarcasm>
   Oops, did we forget to add that ingredient?  Damn!  :-)
</sarcasm>


>
> I am using Windows 2k3, and I am a pure MSFT fan, don't want to  
> pollute my
> environment with any apache etc.
>

<sarcasm>
    We'd hate to pollute that squeaky-clean ultra-secure MSFT  
software with dirty old apache!
</sarcasm>


> I need to be able to set securities like which user can access what  
> folder,
> which could be readonly, write, no access, ..., etc.
>
> Is there a way to do it in SVN? Any existing solutions?
>

Yes, many solutions.  I don't know where you got the idea that  
subversion was insecure, or lacked permissions features.  Please  
chapter 6 in the svn book:

          http://svnbook.red-bean.com


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


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

Re: SVN Security

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jul 15, 2005, at 5:12 PM, Calvin wrote:

> I am trying to evaluate SVN. I want to switch to SVN from Perforce  
> because I
> am cheap.
>
> But after I read the articles regarding SVN, sounds like it lacks a  
> fatal
> feature: Security?

<sarcasm>
   Oops, did we forget to add that ingredient?  Damn!  :-)
</sarcasm>


>
> I am using Windows 2k3, and I am a pure MSFT fan, don't want to  
> pollute my
> environment with any apache etc.
>

<sarcasm>
    We'd hate to pollute that squeaky-clean ultra-secure MSFT  
software with dirty old apache!
</sarcasm>


> I need to be able to set securities like which user can access what  
> folder,
> which could be readonly, write, no access, ..., etc.
>
> Is there a way to do it in SVN? Any existing solutions?
>

Yes, many solutions.  I don't know where you got the idea that  
subversion was insecure, or lacked permissions features.  Please  
chapter 6 in the svn book:

          http://svnbook.red-bean.com


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

Re: Can I check out/access the hook scripts remotely through the svn client?

Posted by Chris Jensen <cj...@edex.com.au>.
Jeff Vincent wrote:
> 		I was just wondering if there was an equivalent to the
> "cvs checkout CVSROOT" command so that I can modify my hook scripts (I
> can't find any).  The SVN server is managed by our IS&T department and I
> don't have physical (or ssh) access.

You could check the hooks directory into the repository somewhere, and 
set up a hook script to run
	svn up
on the hooks directory whenever a change is commited.
Of course, if someone commites a borked script to the hooks directory, 
then you could have a hell of a time trying to fix it.

Chris

(PS Don't reply to a thread to ask a new question, because people who 
have ignored the original thread will ignore your message too.
Your question will have a larger audience if you start a new thread.)

-- 
---------------------------------------------------------------------
Chris Jensen cjensen@edex.com.au

Educational Experience (Australia)
Postal Address: PO Box 860, Newcastle NSW 2300
Freecall:       1-800-025 270      International: +61-2-4923 8222
Fax:            (02) 4942 1991     International: +61-2-4942 1991

Visit our online Toy store! http://www.toysandmore.com.au/
---------------------------------------------------------------------

Re: Can I check out/access the hook scripts remotely through the svn client?

Posted by Martin Schayna <ms...@aktis.cz>.
Jeff Vincent wrote:
> 		I was just wondering if there was an equivalent to the
> "cvs checkout CVSROOT" command so that I can modify my hook scripts (I
> can't find any).  The SVN server is managed by our IS&T department and I
> don't have physical (or ssh) access.

Just make your scripts as part of your regular repository, but keep 
them in special folder besides standard trunk/branches/tags, e.g. 
hooks. Update & commit changes from your working copy as normal, but 
in post-commit script (running on server) copy new versions of 
scripts to hooks directory in your repository.

You can combine this with standard solution for rights by pre-commit 
script and allow only you to change files in hooks folder in repo.

Martin Schayna

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

Can I check out/access the hook scripts remotely through the svn client?

Posted by Jeff Vincent <jv...@novell.com>.
		I was just wondering if there was an equivalent to the
"cvs checkout CVSROOT" command so that I can modify my hook scripts (I
can't find any).  The SVN server is managed by our IS&T department and I
don't have physical (or ssh) access.

I want to add some stuff to the pre_commit script to check for the
svn:keywords property and if possible, things like copyright notices and
such on certain types of source code files.  I am trying to get as close
to server-side updating of embedded keywords like $Id$ as possible.