4 ms·
how?CGI runs with the same permissions as http server,if you need run privileged operations you have to let it sudo.. fastcgi is safer
by synergy20 3y ago
how?CGI runs with the same permissions as http server,if you need run privileged operations you have to let it sudo.. fastcgi is safer
- mgaunard 3y agoIt runs in a separate process, and is therefore isolated from the HTTP server. Making it run as the owner of the file is also quite common and trivially achieved (suExec). mod_php, on the other hand, runs inside the HTTP server process and with the same uid and capabilities, with no way to change that.