Compound files, but not Microsoft's

From: marek jedlinski (marek_at_tranglos.INVALID.com)
Date: 02/07/05


Date: Mon, 07 Feb 2005 05:57:26 +0100

I'm looking for a component that creates and manages compound files, but I
specifically do not want to use Microsoft's "structured storage" OLE
documents (I need platform independence and want to know the particulars of
the format, plus MS implementation has some nasty quirks such as not
clearing the portion of allocated disk space or old/erased data - i.e. a
privacy nightmare).

I am particularly concerned with reliability and speed on loading. Typical
usage scenario is storing a few hundred (occasionally thousands) of
relatively small chunks of data (typically 1-100 kb), to which I need
random access. I don't want to keep all the data in memory, but read each
chunk from the file as I need it and store it back when done. Max size of
the file would typically not exceed 10-20 MB, but will usually be much
smaller (under 1 MB).

Built-in compression and encryption on the fly would be nice, as long as
encryption is robust and standard, e.g. Idea, Blowfish, Twofish, 3DES etc,
but it's not a requirement.

Preferably free (it's for a freeware application), or commercial up to ca.
$150, but price must include source code. Must compile in Delphi 6, so no
.Net.

I was toying with the idea of using a database, like Firebird embedded, but
a database has lots of features I don't need and I am not using DB-aware
controls, I would only be storing and reading hundreds of blobs, which is
not an optimal way to use a DB.

Thanks in advance,
marek

-- 
No ads, no nags freeware: http://www.tranglos.com
(KeyNote, PhoneDeck, KookieJar, Oubliette, URLInject)
"One tentacle, one vote."


Relevant Pages

  • Re: Newbie - Is this Reasonable?
    ... because this hash is stored in the database. ... So you use PKCS5v2 to generate a key hash from a salt and the user's passphrase, then store the salt and the hash in a database. ... are even more critical in database applications because the payoff from tampering with selected fields may be much higher, fields tend to be fixed-length so it's easier to tamper with them in a meaningful way, and databases lend themselves to off-line analysis, so the attacker can marshall more resources and take more time to attack your system. ... You're using a stream cipher for encryption. ...
    (sci.crypt)
  • 2005-Problem restoring database with encrypted columns to diff ser
    ... I need to start encrypting several fields in a database and have been doing ... OPEN MASTER KEY DECRYPTION BY PASSWORD = 'testAppleA3'; ... ALTER MASTER KEY ADD ENCRYPTION BY SERVICE MASTER KEY; ... encryption by certificate test; ...
    (microsoft.public.sqlserver.security)
  • Re: Protecting an Access Database
    ... because I want to make my database more secure. ... I see...So I guess that not even encryption (which I have ... I think Microsoft could have created a built-in encryption function within ...
    (microsoft.public.access.security)
  • Re: FlatFile Encryption using FILESTREAM
    ... If a folder on a domain contains confidential flat files, ... files can be added to a database filegroup and read using FILESTREAM. ... SQL Server ensures data-level consistency between the relational data in the ... "Note that this encryption is made by default when you create ...
    (microsoft.public.sqlserver.server)
  • Re: How to prevent importing tables
    ... why in-built encryption doesn't even matter if they otherwise have ... off-topic but is all to do with security and "extraction". ... > sufficient permission to open the database, ... then they don't even need to decrypt it! ...
    (microsoft.public.access.security)