We are trying to implement MediaCache system for our needs, but we meet some troubles.
I want to ask is it How to configure security of one MediaCacheSource and secure the content there per virtual host because all vhosts will have access to the content if they know the name of the files and directories of other vhosts. So if we use one datastore to store there all video files of all vhosts, there was no security and all vhosts will have access to all videos(if they know the directories an file names).
Here is an example config:
We have two vhosts: client1 on port 11935 and client2 on port 11936
So if one vhost has video files on /datastore/client1 and the second one on /datastore/client2
We have in directory /datastore/client2 a file named bigbunny.mp4, and to this file will have access and from both ports:
So, we have to access this stream only on port 11936, how can be done this ? And is there any way to secure the content per vhost ?