[Qt-interest] Data encryption
Neville Dastur
qt at dastur.me.uk
Mon Jun 7 21:10:32 CEST 2010
On 07/06/2010 17:56, Jason H wrote:
> There is a commercial version of SQLite for $2000 - that will give you
> full database encryption. I don't think it is supported in Qt's
> driver, but it should be a simple patch, as if memory serves, it is
> just arguments to the sqlite API open() call.
>
> ------------------------------------------------------------------------
> *From:* M. Bashir Al-Noimi <mbnoimi at gmx.com>
> *To:* qt-interest at trolltech.com
> *Sent:* Mon, June 7, 2010 9:11:50 AM
> *Subject:* Re: [Qt-interest] Data encryption
>
> Hi,
>
> On 07/06/2010 08:38 ص, Konrad Rosenbaum wrote:
>> On Sunday 06 June 2010, M. Bashir Al-Noimi wrote:
>>
>>> How I can encrypt/decrypt string objects in Qt?
>>>
>>> Because SQLite doesn't protect its data by authentication password I want
>>> to encrypt/decrypt stored data in SQLite database, what's your opinion
>>> about this issue?
>>>
>> I had a quick look at the QSqlDatabase API and it does have a setPassword
>> call - have you tried to use it?
>>
> It'll not works because SQLite itself doesn't support
> username/password authentication.
> --
> Best Regards
> Muhammad Bashir Al-Noimi
> My Blog:http://mbnoimi.net
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
In fact you get two new methods that need implementing. Key and Rekey.
An open source solution has existed for use with wxWidgets for a while
called wxSqlite3. It encrypts the db using AES 256bit. I have managed to
get this working in Qt by implementing my own sql driver. When I get a
chance I'll post the details.
--
Surgeons Net Education
w: http://www.surgeons.org.uk
e: info at surgeons.org.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100607/105e21fd/attachment.html
More information about the Qt-interest-old
mailing list