git fetch git://github.com/bile/otp.git port_owner_exclusivity This creates a new port option, 'restricted', that may be applied when opening ports which will not allow any process but the connected one from sending messages using Port ! Msg, erlang:send or erlang:port_*. I've added some tests to port_SUITE to make sure it works as expected.