[erlang-questions] Encrypted Mnesia database?

Hakan Mattsson <>
Fri Aug 3 16:49:02 CEST 2007


What about implementing an own Activity Access Callback module?
Perhaps you can hide all the encryption stuff there.

See also:

  http://www.erlang.org/doc/apps/mnesia/Mnesia_chap4.html#4.5
  http://www.erlang.org/doc/apps/mnesia/Mnesia_App_C.html#10

/Håkan

On Wed, 1 Aug 2007, Joel Reymont wrote:

JR> Date: Wed, 1 Aug 2007 14:40:50 +0100
JR> From: Joel Reymont <>
JR> To: Matthew Pflueger <>
JR> Cc: 
JR> Subject: Re: [erlang-questions] Encrypted Mnesia database?
JR> 
JR> Add a new table type by hacking Mnesia, e.g. encrypted_disc_copies?
JR> 
JR> I did it for Amazon S3 and I'm available for consulting assignments ;-).
JR> 
JR> On Aug 1, 2007, at 2:01 PM, Matthew Pflueger wrote:
JR> 
JR> > Does anybody have any ideas on how to encrypt a Mnesia database  
JR> > table?  I would like to create a disk based table for each user.   
JR> > The user's credentials would be used to locate the appropriate  
JR> > Mnesia table and also as the key to decrypt the table on the fly at  
JR> > the file IO layer.
JR> 
JR> --
JR> http://topdog.cc      - EasyLanguage to C# compiler
JR> http://wagerlabs.com  - Blog


More information about the erlang-questions mailing list