<div dir="ltr">Hi Trent,<br><div class="gmail_extra"><br><div class="gmail_quote">On 20 September 2016 at 19:47, Trent Hampton <span dir="ltr"><<a target="_blank" href="mailto:trenthampton@gmail.com">trenthampton@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Greetings Erlang Wizards!<br>
<br>
I have a client server erlang application where each server is connected to every other and is running an instance of an mnesia database across point to point VPN tunnels.<br>
<br>
I would like to be able to use erlang rpc on the clients to make function calls on the servers without exposing raw access to the mnesia database. That is, I do not want to expose, to the clients, the cookie that I use to connect mnesia nodes together.<br></blockquote><div><br></div><div>Try using 'erpc' - <a href="https://github.com/bet365/erpc">https://github.com/bet365/erpc</a><br><br></div><div>It mostly has the same API as native rpc module, but on the server side you can specify access controls for each client. You can specify which client ips are allowed to connect, and for each incoming IP address, what combination of {Module, Function} are allowed.<br><br></div><div>regards,<br></div><div>Chandru<br><br></div></div></div></div>