Re: Web server structure?



On 2008-06-24, mbstevens wrote:
....
The actual executables' permissions are something you have to be
very careful about. You would have to set seperate permissions for
each executable. Best to keep these things in one place where you
can work on them together.

A single command with wildcard does the job; there's no need for
them to be in a separate directory:

chmod +x *.cgi

The whole folder can also be given special permissions that further
prevent hacking.

There shouldn't be any write permissions other than the owner on
any directory, so that's not an issue.

--
Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
.



Relevant Pages

  • Re: Web server structure?
    ... On 24 Jun 2008, mbstevens wrote: ... be very careful about. ... You would have to set seperate permissions ... Great sights and sounds ...
    (alt.html)
  • Re: Web server structure?
    ... be very careful about. ... You would have to set seperate permissions ... and a good reason to keep things separate! ...
    (alt.html)