Prevent uploads via web interface

I have an orthanc instance containing PHI free data and I want to prevent uploads. Easy to do for DICOM ports but can I also prevent it in the web interface?

I would place an proxy, such as nginx, in front of it and block the upload endpoints.

Chico Venancio

You are most probably looking for the “IncomingHttpRequestFilter()” Lua callback:

https://book.orthanc-server.com/users/lua.html#filtering-incoming-rest-requests

https://book.orthanc-server.com/faq/security.html?highlight=security#securing-the-http-server