mailto security and semantics

Daniel LaLiberte <liberte@ncsa.uiuc.edu> Wed, 08 January 1997 17:36 UTC

Received: from cnri by ietf.org id aa17239; 8 Jan 97 12:36 EST
Received: from services.Bunyip.Com by CNRI.Reston.VA.US id aa15417; 8 Jan 97 12:36 EST
Received: (from daemon@localhost) by services.bunyip.com (8.6.10/8.6.9) id LAA18821 for uri-out; Wed, 8 Jan 1997 11:44:32 -0500
Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1]) by services.bunyip.com (8.6.10/8.6.9) with SMTP id LAA18814 for <uri@services.bunyip.com>; Wed, 8 Jan 1997 11:44:29 -0500
Received: from sdgmail.ncsa.uiuc.edu by mocha.bunyip.com with SMTP (5.65a/IDA-1.4.2b/CC-Guru-2b) id AA25696 (mail destined for uri@services.bunyip.com); Wed, 8 Jan 97 11:44:25 -0500
Received: from void.ncsa.uiuc.edu (void [141.142.103.20]) by ncsa.uiuc.edu (8.8.2/8.8.2) with ESMTP id KAA11911; Wed, 8 Jan 1997 10:43:33 -0600 (CST)
From: Daniel LaLiberte <liberte@ncsa.uiuc.edu>
Received: (from liberte@localhost) by void.ncsa.uiuc.edu (8.8.2/8.8.2) id KAA16742; Wed, 8 Jan 1997 10:39:17 -0600 (CST)
Date: Wed, 08 Jan 1997 10:39:17 -0600
Message-Id: <199701081639.KAA16742@void.ncsa.uiuc.edu>
To: Larry Masinter <masinter@parc.xerox.com>
Cc: internet-drafts@ietf.org, uri@bunyip.com
Subject: mailto security and semantics
In-Reply-To: <97Jan7.231911pdt."278"@palimpsest.parc.xerox.com>
References: <97Jan7.231911pdt."278"@palimpsest.parc.xerox.com>
Sender: owner-uri@bunyip.com
Precedence: bulk

Larry Masinter writes:
 >                         The mailto URL scheme

 >    For greater functionality, because interaction with some resources
 >    may require message headers to be specified as well as the mail
 >    address, the mailto URL scheme is extended to allow setting mail
 >    header fields.

I'm in favor of this extension, but I recall Roy Fielding's strong
objection last time it was suggested because of security concerns.  I
wonder if the sections on unsafe headers and security issues is
sufficient warning to implementors, or if something else is required,
such as stronger restrictions on the allowed headers.  It might help
to include some rationale as to why the unsafe headers might be
dangerous, or include a reference to a document with such discussion.

 > 3. Semantics and operations
 > 
 >    A mailto URL designates an "internet resource", which is the
 >    mailbox specified in the address. When additional headers are
 >    supplied, the resource designated is the same address, but with an
 >    additional profile for accessing the resource. While there are
 >    Internet resources that can only be accessed via electronic mail,
 >    the mailto URL is not intended as a way of retrieving such objects
 >    automatically.

... though it may be used to do so, at least asynchronously.  I think
this way of talking about a mailbox as a resource is confusing, and it
gets worse in the following.

 >    A "mailto" URL has unusual semantics because the operation of
 >    "GET"ing such a URL does not usually result in the immediate
 >    retrieval of an information object. Rather, the GET operation
 >    merely opens an interactive user session for mailing to the
 >    designated address with the various header fields set as default;

This seems to reflect an http bias.  Why should the action of clicking
on a mailto anchor (or the method associated with that action) be
called "GET".  The telnet URL is similar in not "GET"ing anything.  If
we want any kind of universal semantics of "GET" operations, it should
entail actually making a request to get a copy of some resource, not
doing some other operation such as sending a message or opening a
session.  If we need a name for the generic operation associated with
clicking on an anchor, how about "OPEN"?  (This issue has more to do
with the new guidelines for URL schemes.)

 >    the POST operation results in the sending of electronic mail to the
 >    designated address with the POSTed body replacing the body of the
 >    message. 

Is the "POST" operation in this case activated when the user submits
the message, as opposed to clicking on the anchor which you called "GET"?  

--
Daniel LaLiberte (liberte@ncsa.uiuc.edu)
National Center for Supercomputing Applications
http://union.ncsa.uiuc.edu/~liberte/