Enhancing Document Management features

Author Message

Hakim Bouras

Wednesday 14 February 2007 12:36:40 am

Hi,

Unless I missed something, ezPublish (last version tested 3.9) miss two critical features about Document Management:

- SECURITY: any files uploaded are accessible to anyone knowing the URL (anonymous user). The security only applies to the container (File object, or image ...) but not to the file itself

- VERSIONNING: files uploaded are not versionned, only the container (File object, or image ...) is

Do we have a chance to see these issues addressed in the next versions of ezPublish?

Thanks,
Hakim

Kristof Coomans

Wednesday 14 February 2007 2:29:45 am

Hi Hakim

- SECURITY: if you configure eZ publish correctly (see http://ez.no/doc/ez_publish/technical_manual/3_8/installation/virtual_host_setup#comment6751 ) then binary files are not directly accessible, instead they need to be downloaded through the content/download view, which checks the read (or versionread) policy on the file content object.

- VERSIONING: files uploaded ARE versioned

Also see http://ezpedia.org/wiki/en/ez/file

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Xavier Dutoit

Wednesday 14 February 2007 5:24:59 am

Hi,

The preview view for the file for a specific (archived) version doesn't display the correct link but the latest one, no matter the version (at least on the version I've tried on) . However, if you do a diff between two versions, it's going to show the correct urls for both of them (content/download...) and you can download the previous version.

X+

http://www.sydesy.com

Hakim Bouras

Thursday 15 February 2007 4:33:50 am

Well, I missed something... Thank you for your replies.

In order to enhance the Document Management features, I will then propose:

- to include two levels of versions (which will help to keep a meaningfull history)
- major versions (1.x, 2.x, 3.x, ...) for important changes
- minor versions (x.0, x.1, x.2, ...) for small changes

- to include the possibility to flag some versions as "Archive" so that they do not get automatically recycled

Hakim

Stephen Boals

Sunday 25 February 2007 6:58:01 am

Great articles on security requirements on CM/DM systems:

-edited: link removed (spam)-

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:02:46
Script start
Timing: Jan 18 2025 11:02:46
Module start 'layout'
Timing: Jan 18 2025 11:02:46
Module start 'content'
Timing: Jan 18 2025 11:02:47
Module end 'content'
Timing: Jan 18 2025 11:02:47
Script end

Main resources:

Total runtime0.8408 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0098 589.1484152.6406
Module start 'layout' 0.00980.0046 741.789139.4766
Module start 'content' 0.01430.8251 781.2656638.4141
Module end 'content' 0.83950.0013 1,419.679712.1406
Script end 0.8408  1,431.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4051160.0002
Check MTime0.00130.1510160.0001
Mysql Total
Database connection0.00480.571810.0048
Mysqli_queries0.762390.6562670.0114
Looping result0.00070.0856650.0000
Template Total0.791194.120.3956
Template load0.00210.253020.0011
Template processing0.789093.834720.3945
Template load and register function0.00020.019510.0002
states
state_id_array0.00150.178010.0015
state_identifier_array0.00120.138820.0006
Override
Cache load0.00180.2117340.0001
Sytem overhead
Fetch class attribute can translate value0.00070.086740.0002
Fetch class attribute name0.00730.869780.0009
XML
Image XML parsing0.00330.388440.0008
class_abstraction
Instantiating content class attribute0.00000.002190.0000
General
dbfile0.00270.3245280.0001
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs