Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Privilege reduction with start_server / plackup

by Anonymous Monk
on Apr 17, 2020 at 14:27 UTC ( #11115686=note: print w/replies, xml ) Need Help??


in reply to Privilege reduction with start_server / plackup

Every web server has the ability to specify the user -- say, nobody or www_user -- that the server will run as. It uses high privilege to open the low-numbered ports, then immediately (and, irrevocably) becomes a non-privileged user. It's a one-way street, they can't go back. Furthermore: if you are using FastCGI, the worker processes never need to have high privilege, nor necessarily the same user-ids.
  • Comment on Re: Privilege reduction with start_server / plackup

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2020-09-19 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (114 votes). Check out past polls.

    Notices?