Hello,
The Advanced Authorization plugin is now deprecated and has been superseded by Python plugins:
https://book.orthanc-server.com/plugins/python.html#python-authorization
Such Python scripts will give you much more control over authorization. The following post might also be of interest to you:
https://groups.google.com/g/orthanc-users/c/liOW6BQMbdQ/m/Q9vao4YKAgAJ
If you want to entirely protect an entire Orthanc server, you could also consider adding authentication/authorization at the reverse proxy level:
https://book.orthanc-server.com/faq/nginx.html
https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/
Sébastien-