Accessing via webDAV is definitely the way to go. Your service could access to external storages transparently, and take advantage of additional services ownCloud could provide, such as encryption or antivirus (if theyâre configured)
Note that the âlocalâ external storage is dangerous if itâs misused, thatâs why itâs disabled by default. It could be fine if you set it up to access to files out of the reach of the web server, but I donât think this is your goal.
Technically you can mount any place in the host as long as itâs accesible by the web server.
You could mount the root, so anyone who can access to the configured local external storage could see and download any file in the host, potentially getting access to sensitive information.
You could also mount the web server location, which could potentially allow you to change the code by uploading modified files there. This could easily break ownCloud, or be a huge security risk.
Obviously, you can use it properly, and mount folders such as â/optâ or â/mntâ, assuming theyâre prepared to be used as such. On the other hand, itâs weird you need to access to the local FS out of the ownCloudâs data directory, and if you do, it might be a better option to use SFTP or SMB protocols and use specific accounts as if youâre accessing remotely to those files.
In this case my plex media server needs access to the files. If I would do this with webdav, the server will first download the whole video file before it can be played.
Are you sure? Maybe itâs a limitation on your plex. As far as I know, the contents can be streamed from ownCloud without downloading the whole video. You can double-check with a different player.
I indeed believe that it is a limitation of plex (with VLC no problem). I did not yet try it myself, but that is the information I found on the internet. Iâm currently waiting for some new hardware, when this arrives I will give it a try.
I tested this out. Getting access to the plex media over webdav is not possible. It seems indeed like he needs te download the whole files before even being able to add them to the library. I guess this is a limitation of davfs2.
With the local external storage it seems to work fine.