How to access files that are outside of the webroot

Hello there, i am currently trying to create a web based media streaming interface with cakephp v3 and have all of my media mounted at /media/storage on linux. How can i access the media files from my cakephp webroot without having to constantly copy files to a tempory folder?

That is depend on your webserver settings. If the files are readable by the webserver user you can access them.