When using a private file system, anonymous users can access see the zoomify content and get page not found for all xml/image files.

Comments

infojunkie’s picture

Status: Active » Fixed

Fixed in upcoming dev release. Please try it and let me know.

sgriffin’s picture

It works perfectly. Great work.

If I wanted to create the output to a public directory, on my private file system setup, what considerations do I need to look at?
I tried changing the basedir, but everything stopped. I didn't see many referenced to the file_directory_path() at all except I may have forgotten to alter this function zoomify_file_download();

Private transfers do decrease the performance alot. I've been succeeding with node imports and auto generating imagecache presets to public places to dramatically increase performance.
Probably not something for your UI, since anyone would need to create a special directory, and no other module is giving this option so far. (hybrid file system).

The sites been published at http://www.seeit360.net

infojunkie’s picture

I know that you've been debating this issue of public/private filesystem option in other threads. An interesting factoid is that you can still access the files from sites/default/files/blah even if you specified a private filesystem. At least it worked on my installation. The difference, AFAICT, is that the File API functions return a different path. Maybe this helps.

sgriffin’s picture

I wasn't able to get that to work on my install. Essentially, its not the access path but the performance decrease, especially for alot of tiles/small files.

I think you're right though, if I understand you clearly, but it should be ok if you don't use them when theming.
I was thinking about doing some module to overridge the imagecache theme to check/display and move or create and move to a public place. It seems kinda silly to lock down potentially thousands of files by default when you want to protect something. I guess I can do the same in this module, check for the files in private, move them and display them probably with a cck computed field for ease.

Thanks for your help.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.