[erlang-questions] Disable Distribution
Thu Apr 14 19:10:28 CEST 2016
You can set a random cookie at start in your code so that it is unlikely that another node can connect. Even if cookie file is readable by someone.
"Envoyé depuis mon mobile " Eric
---- Feiko Nanninga a écrit ----
>I'd like to deploy a non-distributed application with a sane
>security configuration (preferably using a relx release).
>How can I entirely disable other nodes from connecting? Is there an
>option to pass to erl (to add in vm.args)?. It seems using a release
>requires me give the node a name and set a cookie. Now I can hope nobody
>guesses the cookie or I can keep other users on the same system from
>reading files which contain the cookie; but this is not a clean solution.
>Would not setting -sname or -name achieve this goal?
>PS: If you don't provide vm.args yourself, relx generates one for you
>with a predictable cookie. This is a BAD default.
>erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions