View image permissions

Author Message

David Suela

Friday 21 December 2007 4:58:15 am

Hi!

How can i protect the image files in a private section?

If i add a new image in my private section a file is storage in var/ezwebin_site/storage/images/private/images..., so every user can view it in the url http://mysite.com/var/ezwebin_site/storage/images/private/images/...

Any ideas?

xsto.info <el acceso a la informaciĆ³n>
http://xsto.info
http://dominios.coop

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

Main resources:

Total runtime0.0161 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.0066 588.9375152.6094
Module start 'layout' 0.00660.0026 741.546939.4141
Module start 'content' 0.00920.0047 780.960985.0703
Module end 'content' 0.01390.0021 866.031330.3047
Script end 0.0160  896.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002817.3497140.0002
Check MTime0.00117.0176140.0001
Mysql Total
Database connection0.00084.798710.0008
Mysqli_queries0.002616.037630.0009
Looping result0.00000.074210.0000
Template Total0.001810.910.0018
Template load0.00095.410210.0009
Template processing0.00095.472510.0009
Override
Cache load0.00063.629110.0006
General
dbfile0.00031.760380.0000
String conversion0.00000.051940.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