changeset 604:489f6a375277

parameter for better security
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 18 Oct 2013 10:32:55 +0200
parents 49945044b06d
children b1a0990ad40c
files OrthancServer/main.cpp Resources/Configuration.json
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Tue Oct 15 16:23:42 2013 +0200
+++ b/OrthancServer/main.cpp	Fri Oct 18 10:32:55 2013 +0200
@@ -387,7 +387,7 @@
       httpServer.SetRemoteAccessAllowed(GetGlobalBoolParameter("RemoteAccessAllowed", false));
       httpServer.SetIncomingHttpRequestFilter(httpFilter);
 
-      httpServer.SetAuthenticationEnabled(GetGlobalBoolParameter("AuthenticationEnabled", false));
+      httpServer.SetAuthenticationEnabled(GetGlobalBoolParameter("AuthenticationEnabled", true));
       SetupRegisteredUsers(httpServer);
 
       if (GetGlobalBoolParameter("SslEnabled", false))
--- a/Resources/Configuration.json	Tue Oct 15 16:23:42 2013 +0200
+++ b/Resources/Configuration.json	Fri Oct 18 10:32:55 2013 +0200
@@ -73,7 +73,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.