How to secure a 'var/siteaccess/.../video' dir ?

Author Message

H-Works Agency

Friday 01 February 2008 1:11:48 pm

Hello,

How can i secure this dir : "var/siteaccess/storage/original/video" ?

In fact this is where all my commercial files are stored :

- Should i move this outside of the DocumentRoot ? : If yes what kind of settings do i need to allow EZP to still store contents in this dir ?

- What kind of rights policy should i use ?

- After those files are selled, what is the best technic for the downloading of those files by the end user ?

Thanx in advance. Help on this would be great.

EZP is Great

Pascal Specht

Thursday 07 February 2008 12:11:46 am

Hi Martin,

Do I understand right that you want to implement ESD (electronic software download) ? You said that people should be able to download files after they have been sold.
I did not try this by myself, but I would think about having the original files kept in a secure place, and when you got the sales, move them to the user's content node so that they can download them (and even re-download them later on)

Best regards,
Pascal

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 19:22:23
Script start
Timing: Jan 18 2025 19:22:23
Module start 'layout'
Timing: Jan 18 2025 19:22:23
Module start 'content'
Timing: Jan 18 2025 19:22:23
Module end 'content'
Timing: Jan 18 2025 19:22:23
Script end

Main resources:

Total runtime0.0156 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.1641152.6406
Module start 'layout' 0.00530.0032 741.804739.4766
Module start 'content' 0.00850.0054 781.281389.3672
Module end 'content' 0.01390.0016 870.648430.3047
Script end 0.0156  900.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002616.8098140.0002
Check MTime0.00116.7765140.0001
Mysql Total
Database connection0.00085.166610.0008
Mysqli_queries0.002818.167230.0009
Looping result0.00000.084210.0000
Template Total0.00128.010.0012
Template load0.00074.601910.0007
Template processing0.00053.331610.0005
Override
Cache load0.00053.351510.0005
General
dbfile0.00031.931380.0000
String conversion0.00000.062740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs