Page 1 of 1

Restrict access for subfolders

PostPosted: Thu Apr 04, 2013 4:05 pm
by Spectre
Hello zip!

Could you please add the possibility to skip some folders (in LibraryUpdatesCheckerThread) according to some rules?

In my case I have the general folder "/share/Video" with many subfolders. For example I want to restrict access to the folder "/share/Video/Cartoons/SpongeBob". Now I can only change the folder permissions (to 700) but it's not good because Serviio will write to the log many messages "Folder is either not an existing directory or cannot be read due to access rights" and also I can't use this folder from another TV.

I suggest to add a special file (optional) which will mark some folders:
1. This folder should not be visible permanently.
2. This folder should be included in "Limit folder access" list (PRO version feauture).

You are already have the functional that provide the searching for playlist files in each folders. My proposing is a little bit similar.

Re: Restrict access for subfolders

PostPosted: Thu Apr 04, 2013 4:16 pm
by Spectre
Another possible way:

In the Serviio console's section "Library/Shared folders" allow to mark some (sub)folders (via context menu) as "Banned" and "Restricted access".

In my case it will be:
/share/Video (no limitation)
/share/Video/Cartoons/SpongeBob (banned folder)
/share/Video/Horror (Restricted access)

Re: Restrict access for subfolders

PostPosted: Wed Apr 10, 2013 12:40 pm
by Spectre
If you are not going to do it, please just write that. I will not wait this feature and will think about other solutions (update Serviio DB via my script or something else).

Re: Restrict access for subfolders

PostPosted: Wed Apr 10, 2013 4:23 pm
by zip
I'm not planning on doing this, definitely in any near future.

Re: Restrict access for subfolders

PostPosted: Wed Apr 10, 2013 10:19 pm
by Xmantium
@ Spectre, you can just simply add each folder separably with each specific restrictions

Re: Restrict access for subfolders

PostPosted: Fri Apr 12, 2013 10:36 pm
by Spectre
Xmantium wrote:@ Spectre, you can just simply add each folder separably with each specific restrictions


Sorry, but it's not comfortable due to 2 reasons:
1. The folder /share/Video is the very huge (about 6Tb Video) and contains many subfolders, so I should add many subfolders in Serviio settings
2. The subfolders structure can be changed and I need to modify the folders settings in Serviio each time.