Permissions prevent download via external players on the same machine.

Author Message

Stuart Fenton

Wednesday 19 May 2004 9:13:37 am

I am having an interesting problem with the permission system.

I am trying to allow streaming content to be played by various streaming media players. Similar to the standard QuickTime, Flash and Media player types however I require users to only read after logging in.

Using this method the external players cannot play any of the content.

The web browser however can play the content. When I check the log files I am told that "Policies do not match". (only when using an external player)

The privilege system seems to prevent it being played even if it's on the same machine

If I turn off permissions the files play correctly.

I have tried altering to the passthrough binary file type but that makes no difference.

Has anyone else encountered this issue and is their any solution to it?

I have written an streaming mp3 module to accommodate this functionality but this particular issues causes me to hit a wall.

Any help is greatly appreciated.

Regards
Fats

--
Fats Neutron
Fats.neutron@grandmore.com

-- Stuart

stuart@grandmore.com
http://www.grandmore.com

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 31 2025 06:23:07
Script start
Timing: Jan 31 2025 06:23:07
Module start 'layout'
Timing: Jan 31 2025 06:23:07
Module start 'content'
Timing: Jan 31 2025 06:23:07
Module end 'content'
Timing: Jan 31 2025 06:23:07
Script end

Main resources:

Total runtime0.0178 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.0082 588.5781151.2422
Module start 'layout' 0.00820.0036 739.820336.6953
Module start 'content' 0.01180.0047 776.515690.2188
Module end 'content' 0.01650.0013 866.734429.9922
Script end 0.0178  896.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002413.7182140.0002
Check MTime0.00115.9678140.0001
Mysql Total
Database connection0.00084.595110.0008
Mysqli_queries0.005128.811930.0017
Looping result0.00000.095110.0000
Template Total0.00105.710.0010
Template load0.00074.185210.0007
Template processing0.00031.471910.0003
Override
Cache load0.00052.949110.0005
General
dbfile0.00031.612580.0000
String conversion0.00000.045540.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