# HG changeset patch # User Sebastien Jodogne # Date 1566205150 -7200 # Node ID e0e9df6e5c920c658847f00dcb3f29f9a154113c # Parent c465c6ee2bfb987a3235c0f56d9f50b6c5d0bc94 AuthenticationEnabled diff -r c465c6ee2bfb -r e0e9df6e5c92 OrthancServer/main.cpp --- a/OrthancServer/main.cpp Mon Aug 19 10:18:04 2019 +0200 +++ b/OrthancServer/main.cpp Mon Aug 19 10:59:10 2019 +0200 @@ -821,7 +821,7 @@ httpServer.SetRemoteAccessAllowed(lock.GetConfiguration().GetBooleanParameter("RemoteAccessAllowed", false)); httpServer.SetKeepAliveEnabled(lock.GetConfiguration().GetBooleanParameter("KeepAlive", defaultKeepAlive)); httpServer.SetHttpCompressionEnabled(lock.GetConfiguration().GetBooleanParameter("HttpCompressionEnabled", true)); - httpServer.SetAuthenticationEnabled(lock.GetConfiguration().GetBooleanParameter("AuthenticationEnabled", false)); + httpServer.SetAuthenticationEnabled(lock.GetConfiguration().GetBooleanParameter("AuthenticationEnabled", true)); httpServer.SetTcpNoDelay(lock.GetConfiguration().GetBooleanParameter("TcpNoDelay", true)); lock.GetConfiguration().SetupRegisteredUsers(httpServer); diff -r c465c6ee2bfb -r e0e9df6e5c92 Resources/Configuration.json --- a/Resources/Configuration.json Mon Aug 19 10:18:04 2019 +0200 +++ b/Resources/Configuration.json Mon Aug 19 10:59:10 2019 +0200 @@ -150,7 +150,7 @@ "SslCertificate" : "certificate.pem", // Whether or not the password protection is enabled - "AuthenticationEnabled" : false, + "AuthenticationEnabled" : true, // The list of the registered users. Because Orthanc uses HTTP // Basic Authentication, the passwords are stored as plain text.