[erlang-questions] Mnesia permission at process level
Ulf Wiger (TN/EAB)
Wed Sep 27 10:56:35 CEST 2006
'Rdbms' has access control, but it can't be made completely
safe, of course. It assumes that there is no malicious
software running on the node.
The way it works is that you can add a metadata declaration
for a table, specifying a callback Mod:Fun(Tab, Mod, Record),
where Mode = read | write | delete. If the function doesn't
return 'true', the transaction aborts.
> -----Original Message-----
> [mailto:] On Behalf Of netboz
> Sent: den 25 september 2006 11:52
> Subject: [erlang-questions] Mnesia permission at process level
> Is there a convenient way to implement permissions on mnesia
> tables at the process level?
> I.e: If a remote node connect to a mnesia database at a local
> node, can we set different permissions to the different
> process on this remote node ?
> May be there is the possibility to add a callback at the
> transaction level to decide if yes or no we accept the transaction ?
> Hoping I was clear enougth,
> Thanks, to any advice
> View this message in context:
> Sent from the Erlang Questions mailing list archive at Nabble.com.
> erlang-questions mailing list
More information about the erlang-questions