"RemoteAccessAllowed" : true,
"AuthenticationEnabled" : true,
"RegisteredUsers" : {
"Administrator" : "StrongPwd"
},
Hi,
> I have installed ORTHANC in an Ubuntu 16.04 server environment as Dicom Store engine, on top I put a web application which communicates with ORTHANC trough rest API. I want to keep ORTHANC secure and maintain these configurations:
>
> "RemoteAccessAllowed" : true,
> "AuthenticationEnabled" : true,
> "RegisteredUsers" : {
> "Administrator" : "StrongPwd"
> },
>
> so I would like to know if there is a way to pass username and password through REST API in order to securely access to ORTHANC APIs?
Yes. Orthanc uses HTTP Basic Authentication. (https://en.wikipedia.org/wiki/Basic_access_authentication)
You can put username/password into the URL directly like so: "http://username:password@orthanc-host.example/".
I have my application running HTTPS behind Tomcat 8 web server. I will try to configure Orthanc behind it and let you know. Any experiences with this scenario?
maybe I can directly install nginx to serve Orthanc, but following Orthanc book explanation I'm missing a point:server {listen 80 default_server;...location /orthanc/ {proxy_pass http://localhost:8042;proxy_set_header HOST $host;proxy_set_header X-Real-IP $remote_addr;rewrite /orthanc(.*) $1 break;}...}What the "location /orthanc/" means?