Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Modification of files from CGI script

by WalkingZero (Sexton)
on Aug 21, 2007 at 05:30 UTC ( #634005=note: print w/replies, xml ) Need Help??

in reply to Re: Modification of files from CGI script
in thread Modification of files from CGI script

If I'm not mistaken, a lot of that can be accomplished by proper configuration of an .htaccess file if you are using Apache. However, WebDev has never been my strongest point. Regardless of whether you are running a script locally or as cgi on a web server, graff's point about file locking is very important. Any access to shared resources need to be controlled properly or you will have issues.
  • Comment on Re^2: Modification of files from CGI script

Replies are listed 'Best First'.
Re^3: Modification of files from CGI script
by dsheroh (Monsignor) on Aug 21, 2007 at 06:34 UTC
    I'm not big into web dev either, but I've never heard of being able to control that via .htaccess before (and allowing suid to any user other than the owner of the .htaccess file to be configured that way has obvious security problems). Apache does, however, have suexec, which I believe causes scripts to run suid as their owner. AFAIK, suexec is the only way for CGI/etc. scripts to run as a user other than the apache user.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://634005]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2023-12-09 22:18 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (38 votes). Check out past polls.