Merge pull request #110 from Hades32/patch-1

Prevent ALL access to $SYS from outside localhost.
This commit is contained in:
Feng Lee 2015-04-29 02:42:39 +08:00
commit fc386ec27e
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
{allow, {ipaddr, "127.0.0.1"}, pubsub, ["$SYS/#", "#"]}.
{deny, all, subscribe, [{eq, "$SYS/#"}, {eq, "#"}]}.
{deny, all, subscribe, ["$SYS/#", {eq, "#"}]}.
{allow, all}.