Is there anyway of setting Webfm root path behind webroot?

I have a large amount of files that require to be behind webroot and from what I can tell theres no way of setting Webfm to have its path behind webroot. I have been searching for the reason why Webfm only has the option to have its path inside webroot when webfm does not actually require direct http access to the directories.

Any insight would be greatly appreciated.
Thanks.

Comments

robmilne’s picture

Placing it outside webroot was my original intention but because of time constraints I ended up using drupal file.inc calls that are all predicated on the files being within webroot. When I find time I'll remove that dependency.

robmilne’s picture

Status: Active » Postponed
tomhung’s picture

why not use a sym link?

tom-d’s picture

I have tried this, ln -s /www/drupal/files/private /behind_webroot but it doesn't work..

When you try to download a attached file it fails, have you got it to work?

xcorex’s picture

Version: 5.x-2.13 » 6.x-2.9-alpha2

"When you try to download a attached file it fails, have you got it to work?"

Same here. Any advices?

xcorex’s picture

I've checked the fpath into the webfm_file table, and its Ok. I've copied the fpath into the FF3 and the download was successful.

nhck’s picture

Status: Postponed » Closed (won't fix)