Re: Web authentication
From: Alan Kennedy (alanmk_at_hotmail.com)
Date: 12/05/03
- Next message: Alan Kennedy: "Re: xml.dom.minidom -> nextElement ?"
- Previous message: Fredrik Lundh: "Re: Lists and Tuples"
- In reply to: John J. Lee: "Re: Web authentication"
- Next in thread: John J. Lee: "Re: Web authentication"
- Reply: John J. Lee: "Re: Web authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 05 Dec 2003 10:28:31 +0000
[John J. Lee]
> Doesn't/shouldn't http://user:passwd@example.com/blah.html work?
>
> I don't know where that syntax is specified (if anywhere)
RFC 2396: Uniform Resource Identifiers (URI): Generic Syntax
Section: 3.2.2. Server-based Naming Authority
Quoting from that section
"""
URL schemes that involve the direct use of an IP-based protocol to
a
specified server on the Internet use a common syntax for the server
component of the URI's scheme-specific data:
<userinfo>@<host>:<port>
where <userinfo> may consist of a user name and, optionally,
scheme-
specific information about how to gain authorization to access the
server. The parts "<userinfo>@" and ":<port>" may be omitted.
server = [ [ userinfo "@" ] hostport ]
The user information, if present, is followed by a commercial
at-sign
"@".
userinfo = *( unreserved | escaped |
";" | ":" | "&" | "=" | "+" | "$" | "," )
Some URL schemes use the format "user:password" in the userinfo
field. This practice is NOT RECOMMENDED, because the passing of
authentication information in clear text (such as URI) has proven
to
be a security risk in almost every case where it has been used.
"""
regards,
-- alan kennedy ------------------------------------------------------ check http headers here: http://xhaus.com/headers email alan: http://xhaus.com/contact/alan
- Next message: Alan Kennedy: "Re: xml.dom.minidom -> nextElement ?"
- Previous message: Fredrik Lundh: "Re: Lists and Tuples"
- In reply to: John J. Lee: "Re: Web authentication"
- Next in thread: John J. Lee: "Re: Web authentication"
- Reply: John J. Lee: "Re: Web authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|