View Single Post
Old 05-27-2022, 08:25 AM   #1
martianrock
Junior Member
martianrock began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2022
Device: fbreader
Question How to restrict anonymous user access?

Hi, I am trying to restrict anonymous access to a specific tag or vl, my web search found --restrictions CLI option but it does not seem to be available in recent version of calibre-server. Is there alternative to --restrictions now?
tl;dr
I was planning (after reading about --restrictions option) to run 2 instances, one read-only no auth on port 80 restricted to tag:ready (i.e. 'ready' server) and another one with auth but unrestricted on default port 8080 ('staging/work in progress' server). And I was planning to run them both from the same library directory (with one of them being read-only I figured it wound not have write conflicts).
If that setup is not possible, would it be possible to have a sync script which would copy only stuff tagged with tag:ready or vl:ready to another library?
martianrock is offline   Reply With Quote