Is it possible to have two upload directories? For most files uploaded
having them in web/uploads is fine as I don't mind who sees them;
however some files must only be accessible by authenticated users, and
i would prefer them to be located outside the web root.

I'm planning to set another config variable (rather than using
sfConfig::get('sf_upload_dir')) for the out-of-webroot upload
directory and then write an action that controls viewing of these
files - but is there an in-built approach or more Symfonic way?

Thanks,
Peter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to