On Feb 23, 2012, at 08:46, Waseem Shahzad wrote:

> Any threat or problem if I put my Live Application in SVN checkout?

Depending on where you check out your working copy on the server, your version 
of Subversion, and your web server configuration, it's possible users could 
access all the files in the working copy's pristine area, thus possibly being 
able to read your code and/or gain access to any passwords or other 
confidential information contained therein. So I recommend you configure your 
web server to deny access to any URL containing "/.svn".

For Apache 2, I have the following line in my httpd.conf to accomplish this 
goal:

RedirectMatch 404 .*/\.svn(/|$)

If you use a different web server you'll have to consult its documentation to 
learn how to do that kind of thing.


For automated deployments generally, I've often recommended 
SVN::Notify::Mirror. I don't know if it will help in your situations 
specifically.

http://search.cpan.org/perldoc?SVN::Notify::Mirror


Reply via email to