Daniel Schierbeck
4/3/2006 8:06:00 PM
Stian Hole wrote:
> I am currently planning to write a diary type application using Ruby and
> FXruby, and I am therefor looking for a secure way of storing data.
> Using plain text files is of course out of the question, but I was
> thinking of using SQLite, could that be secure enough? The idea is that
> I don't want people to be able to simply view a users diary entries by
> opening a file (preferrably, the data should be secured with a password
> (and username) defined by the owner).
What platform is your application for? If it's for a UNIX-ish platform
(Linux, OSX, etc.,) simple file access control may suffice. If you're
dead serious about it, you can use heavyweight encryption.
Cheers,
Daniel Schierbeck