> almost all web applications run as root
That‘s largely a configuration problem. They don‘t have to run as root, most of the time.
That‘s largely a configuration problem. They don‘t have to run as root, most of the time.
Disadvantage with the Windows behavior is that a webservice running on said port has elevated permissions and if you surf the web with the same machine, a script inserted into a site could launch attacks against it. Of course the site itself could be malicious, in that case the CORS rule wouldn't do much.
Of course you are correct, running directly on port 80 might just be a bad idea, but for development purposes I might do that.
What usually happens is that the process only has the necessary capability for a brief period to open the port and drops it immediately before processing any requests.