[asterisk-bugs] [Asterisk 0010961]: [patch] Add HTTP Basic Authentication Scheme (rfc2617) for manager web interface.

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Dec 10 07:42:06 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10961 
====================================================================== 
Reported By:                ys
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10961
Category:                   Core/HTTP
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 85514 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-12-2007 06:48 CDT
Last Modified:              12-10-2007 07:42 CST
====================================================================== 
Summary:                    [patch] Add HTTP Basic Authentication Scheme
(rfc2617) for manager web interface.
Description: 
I found, that manager web interface used "Cookie" Header for authenticate
the user. This require two http request, one for authenticate and next for
commands.
This patch add only Basic authentication scheme implementation, as defined
in rfc2617.
If used this scheme, httptimeout are unused, but we don't need to keep a
http session (and mansession) alive, after HTTP Request is processed.







====================================================================== 

---------------------------------------------------------------------- 
 oej - 12-10-07 07:42  
---------------------------------------------------------------------- 
Basic HTTP auth is *very* insecure. I don't really like supporting it.
There's a reason why we don't support it in the SIP standards any more.

We already have code for digest HTTP auth in chan_sip, maybe we need to
move that to a common library and use it for both modules. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-10-07 07:42  oej            Note Added: 0075115                          
======================================================================




More information about the asterisk-bugs mailing list