Chris,
Thanks for bringing up the idea. I also think that accepting files locally via
file URLs instead of having to rely on the Tomcat FileDirContext would simplify
the setup for managed content and as a result provide a more natural way to
obtain files residing on the same machine. Perhaps we could introduce two
parameters for this: one that acts as a switch and generally turns file URLs
on/off and a second that defines a set of allowed file URLs with optional
recursion ?
A related idea could be to use a virtual file system provider like Apache VFS.
This could further simplify the retrieval of managed content by abstracting the
access to multiple file systems and protocols. There are of course even more
possible security implications with this approach and I also don't know about
the stability and the impact on ingest performance.
Any thoughts on this ?
- Kai
-----Ursprüngliche Nachricht-----
Von: Chris Wilper [mailto:[email protected]]
Gesendet: Mo 23.02.2009 06:54
An: FC Developers List
Betreff: [Fedora-commons-developers] Performance wiki and Managed Content
Hi Kai,
I got a chance to read through your performance wiki[1] again in more
detail and found it quite informative. One part I missed before was
the discussion on "Managed Content Retrieval", where you discuss the
use of a Tomcat FileDirContext in order to avoid sending content in
via the upload servlet. If Fedora just had the option to accept local
"file:///" URLs on ingest, I think that would be even better. There's
a security consideration to doing that, but I think as long as the
repository could be configured to reject file:/// URLs from all but a
set of "allowed" local paths and the input was sanitized (removing
"..", etc), we would be ok. Any other thoughts on how this might be
done?
- Chris
[1] http://fedora.fiz-karlsruhe.de/docs/Wiki.jsp?page=Main
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
-------------------------------------------------------
Fachinformationszentrum Karlsruhe, Gesellschaft für wissenschaftlich-technische
Information mbH.
Sitz der Gesellschaft: Eggenstein-Leopoldshafen, Amtsgericht Mannheim HRB
101892.
Geschäftsführerin: Sabine Brünger-Weilandt.
Vorsitzender des Aufsichtsrats: MinR Hermann Riehl.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers