From 5b31bb9cb918491b599c89ef24f1833587bdef0f Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Mon, 16 Mar 2015 23:48:16 +0000 Subject: Don't log http auth details by default. This is a security risk when people distribute logs for debug purposes. If necessary the information can be retrieved via config console commands. Relates to http://opensimulator.org/mantis/view.php?id=7501 --- OpenSim/Framework/ServiceAuth/BasicHttpAuthentication.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/ServiceAuth/BasicHttpAuthentication.cs b/OpenSim/Framework/ServiceAuth/BasicHttpAuthentication.cs index b20f8f5..512ac4f 100644 --- a/OpenSim/Framework/ServiceAuth/BasicHttpAuthentication.cs +++ b/OpenSim/Framework/ServiceAuth/BasicHttpAuthentication.cs @@ -38,7 +38,7 @@ namespace OpenSim.Framework.ServiceAuth { public class BasicHttpAuthentication : IServiceAuth { - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); +// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); public string Name { get { return "BasicHttp"; } } @@ -61,7 +61,7 @@ namespace OpenSim.Framework.ServiceAuth byte[] encData_byte = Util.UTF8.GetBytes(str); m_CredentialsB64 = Convert.ToBase64String(encData_byte); - m_log.DebugFormat("[HTTP BASIC AUTH]: {0} {1} [{2}]", m_Username, m_Password, section); +// m_log.DebugFormat("[HTTP BASIC AUTH]: {0} {1} [{2}]", m_Username, m_Password, section); } public void AddAuthorization(NameValueCollection headers) -- cgit v1.1