Does HamsterDB offer key authentication?

5 views
Skip to first unread message

Ang

unread,
Oct 31, 2014, 2:12:51 AM10/31/14
to hamster...@googlegroups.com
Hi Cristoph and fellow friends,

I am new to HamsterDB (and I'm liking it so far!) and would like to know if there is a key authentication or similar feature available. 
I'm looking for a method to prevent users from accessing sensitive information which will be stored within the database.

Regards,
Ang

Christoph Rupp

unread,
Oct 31, 2014, 2:24:20 AM10/31/14
to hamster...@googlegroups.com
Hi Ang,

no - there's no authentication mechanism. This would have to be implemented in your application layer.

You could store the authentication information in your record. You could also append it to your keys, and use a custom compare function. When comparing keys you just ignore the authentication information, then they don't mess up the sort order. Just send a mail if you need sample code for a custom compare function.

Best regards
Christoph

--
You received this message because you are subscribed to the Google Groups "hamsterdb User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hamsterdb-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ang

unread,
Oct 31, 2014, 6:16:48 AM10/31/14
to hamster...@googlegroups.com
Hi Christoph, 

Thanks for your reply. 
How can I make sure that if someone accesses my database file, it's difficult for them to access the contents?
Does it mean that I have to encrypt my content before inserting into the record?

Thanks and regards,
Ang

Christoph Rupp

unread,
Oct 31, 2014, 7:08:39 AM10/31/14
to hamster...@googlegroups.com
Hi Ang,

yes, there is a encryption feature, but it's reserved for the commercial version of hamsterdb. It uses AES encryption.

See this page:
http://hamsterdb.com/documentation/pro/

For the open source version there's no such thing, but you could encrypt/decrypt your records and/or your keys in your application.

Best regards
Christoph

Yu Ang Tan

unread,
Nov 3, 2014, 2:24:34 AM11/3/14
to hamster...@googlegroups.com
Hi Christoph, 

My project lead is currently putting the DB selection on hold, but I'll keep hamsterdb in view because this may just be what we need.
Thanks for clarifying my questions, and have a nice day.

Best regards,
Ang

--
You received this message because you are subscribed to a topic in the Google Groups "hamsterdb User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hamsterdb-user/69NFSV2l0s8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hamsterdb-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages