Why does UNIX require a domain socket?
Answer
For UNIX domain sockets,
file and directory permissions restrict which processes on the host can open the file, and thus communicate with the server
. Therefore, UNIX domain sockets provide an advantage over Internet sockets (to which anyone can connect, unless extra authentication logic is implemented).
Answer
For UNIX domain sockets,
file and directory permissions restrict which processes on the host can open the file, and thus communicate with the server
. Therefore, UNIX domain sockets provide an advantage over Internet sockets (to which anyone can connect, unless extra authentication logic is implemented).