If I created a folder /tmp/me
with permissions 700
, and started a process under me
that starts a listen socket under /tmp/me/socket
.
- I currently assume that a connection to that socket originated from a process that is running on the very same server (malicious or otherwise), and was not a connection from another server (unless through one of the processes).
- Can I also assume that the only users who can access that socket are
me
, androot
?
I am asking about Solaris in particular.
Note: I'm aware that setting permissions on the socket
file itself is not effective on various Operating Systems. That is why I chose to contain the socket
file within a directory me
.