Can I deactivate authentication for the viewers?

Hi, I’m running orthanc with osimis, the docker image osimis/orthanc, and for my application I’d like to keep a degree of security in place by having authentication enabled. However, for the viewer, I’d like that to work for anyone who has the links. Is there a way to achieve this?

Alternatively, if I remove the authentication, is there another method I can lock down the pacs server but still make the viewers available for anyone who has a link?

Orthanc is a microservice for medical imaging. If you need higher-level UX constructions such as user management or links to share studies, you’ll have to create an application by yourself. For more information:
https://book.orthanc-server.com/faq/improving-interface.html

I’ve been trying to find some examples, but I do see some references to creating lua scripts for such things. I haven’t found any specific examples yet, but would it be possible to catch a request for a viewer and have it bypass the peer authentication? Or might there be a similar way to do so with PHP?

I have full access to the server this is sitting on. My goal is to be able to share anonymized studies, while keeping their original non-anonymized ones private.

Please carefully read the link I’ve sent in my previous answer:

“If you need such a more advanced user experience so that Orthanc better fits your clinical workflow, you will have to develop a separate, custom Web interface on the top of the REST API of Orthanc, maybe as a plugin. Any front-end Web developer could take care of this task using well-known JavaScript frameworks (such as Angular, Vue.js…).”
https://book.orthanc-server.com/faq/improving-interface.html

So, yes, you’ll have to develop an application (maybe in PHP, Django, Ruby, Java, or any other similar development stack for Internet applications), or to have a look at the related projects listed on the same page.