Welcome! Log In Create A New Profile

Advanced

Worker per server block spawned as uid x?

Posted by Heisenberg 
Worker per server block spawned as uid x?
August 16, 2013 08:47AM
Hello,

I just installed nginx and I am wondern if that is possible: Can I spawn workers as uid X dedicated to a server block?

I though about that because I can spawn php-fpm workers as uid x, but if someone would break into the worker he would have read access in other server blocks. If I could dedicate workers and put start them as user x, I could apply stricter permissions to each server block root directory, so that the worker could not read in different root dirs.



Edited 1 time(s). Last edit at 08/16/2013 08:49AM by Heisenberg.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 156
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready