[ejabberd] Limit access to vcard

Badlop badlop at gmail.com
Thu Apr 22 16:03:06 MSD 2010


2010/4/14 AQ <areq at areq.eu.org>:
> is better, works, but something strange with ACL
>
> {access_get, local},  - everyone can read vcard

So, you had something like this:

{acl, local, {user_regexp, ""}}.
{access, local, [{allow, local}]}.
{modules, [
   ...
  {mod_vcard,    [{access_get, local}]},
   ...
]}.

You say that this configuration allows users from remote servers read vcards?
In my testing, that configuration blocked remote users correctly.


>
> {acl, aclvcard, {server,  "myserver.net"}}.
> {access, accvcard, [{allow,aclvcard }]}
> {access_get, accvcard},
>
> only local can.


---
Badlop
ProcessOne


More information about the ejabberd mailing list