docker – Security implications of granting non-root access to privileged ports (

Lots of solutions to this problem e.g. here and here but in order to decide which is best I’d need to know more about the security implications of each solution (or at least in general).

My context: I’m looking into running a rootless Docker/Podman Nginx container (on an Ubuntu Server 20.04 LTS host). Podman gives the following solution with this error message Error: rootlessport cannot expose privileged port 80, you can add 'net.ipv4.ip_unprivileged_port_start=80' to /etc/sysctl.conf (currently 1024) but reading around it doesn’t seem to me like a great solution because it’s giving access to all users.