<p dir="ltr">Hi,<br>
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. </p>
<p dir="ltr">"Envoyé depuis mon mobile " Eric</p>
<br><br>---- Feiko Nanninga a écrit ----<br><br>Hello,<br><br>I'd like to deploy a non-distributed application with a sane<br>security configuration (preferably using a relx release).<br><br>How can I entirely disable other nodes from connecting? Is there an<br>option to pass to erl (to add in <a href="http://vm.args">vm.args</a>)?. It seems using a release<br>requires me give the node a name and set a cookie. Now I can hope nobody<br>guesses the cookie or I can keep other users on the same system from<br>reading files which contain the cookie; but this is not a clean solution.<br><br>Would not setting -sname or -name achieve this goal?<br><br>Best regards,<br>Feiko<br><br><br>PS: If you don't provide <a href="http://vm.args">vm.args</a> yourself, relx generates one for you<br>with a predictable cookie. This is a BAD default.<br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br>