Jukka Zitting wrote:

> Just had an idea on this, we'll store the attachments in a table that
> contains the metadata about the file and an url that points to the
> actual data.

This would be much like how the midgard-project.org attachments work,
right?

> The url could be a pointer to a file in the filesystem
> (file:/etc/passwd !)

I'll assume the content managers will not be able to set these URLs
themselves, then?

> or to a BLOB record in a separate blob table
> (x-midgard-blob://Xhd0y2nFP+sFdn1rl3Nf). In fact it could even be a
> generic http, ftp or other redirection.

These would be used internally (iso sent out as redirects to the client)
I assume.

> There will be no access control records for the blob table as the blob's
> cannot be directly accessed (there will be no mgd_get_blob() function).
> Instead the data access is controlled via the attachment records that
> contain the link to the actual data.

which achieves the same. Very good.

Bye,
Emile

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to