[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache and backup files



On Wed, Jan 29, 2003 at 07:25:35PM +0100, Christoph Moench-Tegeder wrote:
> ## Emmanuel Lacour (elacour@easter-eggs.com):
> 
> > What about adding in default httpd.conf something like this to protect
> > from reading common editors backup files (index.php~ ...)
> 
> What about using the Right Editor[tm] (or just disabling backup files)?
> No, seriously, I usually have a mirror of the web directorys in
> question, often on another machine, where I do the editing. Then I
> can copy all the canges at once (or preview the code on another
> server). Even if I had backup files I would clean them up before
> copying (long live make). CVS is another idea, but then you might
> want to protect the CVS-directorys.
> 

Of course you're right and I wrote without having a thinking a little
bit... I thinks that's because I'm working with dev people who often
work directly on production server :-/ ... who never do this...

BTW if we need to work directly on the prod. server, we have to know
what file are critical and often this are included files which have to
be correctly protected (chmod, Deny ...). So my Idea is really unusefull
and if it could protect a little bit beginners, it can make them never see
that they're code/application is not we'll designed/protected.

Well so, we can close this small thread ;-)

Sorry thore the noise...



Reply to: