Re: [OAUTH-WG] About Big Brother and draft-campbell-oauth-resource-indicators-00

"Steinegger, Roland Heinz (TM)" <roland.steinegger@kit.edu> Fri, 18 November 2016 08:49 UTC

Return-Path: <roland.steinegger@kit.edu>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE9F112953C for <oauth@ietfa.amsl.com>; Fri, 18 Nov 2016 00:49:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.697
X-Spam-Level:
X-Spam-Status: No, score=-5.697 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.497] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7dxY4_cKIWRU for <oauth@ietfa.amsl.com>; Fri, 18 Nov 2016 00:49:18 -0800 (PST)
Received: from scc-mailout-kit-01.scc.kit.edu (scc-mailout-kit-01.scc.kit.edu [IPv6:2a00:1398:9:f712::810d:e751]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EC9B01294CF for <oauth@ietf.org>; Fri, 18 Nov 2016 00:49:17 -0800 (PST)
Received: from kit-msx-29.kit.edu ([2a00:1398:9:f612::29]) by scc-mailout-kit-01.scc.kit.edu with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (envelope-from <roland.steinegger@kit.edu>) id 1c7erB-0003Lp-Ku for oauth@ietf.org; Fri, 18 Nov 2016 09:49:16 +0100
Received: from kit-msx-27.kit.edu (2a00:1398:9:f612::27) by KIT-MSX-29.kit.edu (2a00:1398:9:f612::29) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Fri, 18 Nov 2016 09:49:06 +0100
Received: from kit-msx-27.kit.edu ([fe80::184d:a4f7:c13a:714c]) by kit-msx-27.kit.edu ([fe80::184d:a4f7:c13a:714c%16]) with mapi id 15.00.1236.000; Fri, 18 Nov 2016 09:49:06 +0100
From: "Steinegger, Roland Heinz (TM)" <roland.steinegger@kit.edu>
To: "oauth@ietf.org" <oauth@ietf.org>
Thread-Topic: [OAUTH-WG] About Big Brother and draft-campbell-oauth-resource-indicators-00
Thread-Index: AdJBeJlr6LXD93GnSWW7JTxQxR6Clw==
Date: Fri, 18 Nov 2016 08:49:06 +0000
Message-ID: <101a8d47f64f453da9b0c08a6964ba51@kit-msx-27.kit.edu>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [141.3.28.109]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="2.16.840.1.101.3.4.2.1"; boundary="----=_NextPart_000_0019_01D24180.FFFA78B0"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/Jbd9fxxI37A2qh9rBnw2188bOPI>
Subject: Re: [OAUTH-WG] About Big Brother and draft-campbell-oauth-resource-indicators-00
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Nov 2016 08:49:21 -0000

On the new parameter.
I agree. The description of a "Collision-Resistant Name" sounds great to me
and would give developers good guidance.

Perhaps the parameter may be called "resource-type". "resource" is ambiguous
to me. It may refer to the kind of resource or to a concrete resource. (But
I don't know how this is typically handled in RFCs.)


On the topic privacy.
In my opinion, it depends on how you implement the authorization server
(AS). In many cases, the AS already knows what the user wants to access. The
scope often contains this information, e.g. "calendar_read" - we are
carrying out a study on how the scope is used currently.
If you use OAuth just for delegation, it may be a privacy problem. But, if
your AS authorizes based on authorization rules, where it has to know the
protected resource as well as who wants to access it, privacy may not be a
problem from my point of view.

> Date: Thu, 17 Nov 2016 11:25:15 -0800
> From: Jim Willeke <jim@willeke.com>
> To: oauth@ietf.org
> Subject: Re: [OAUTH-WG] About Big Brother and
> 	draft-campbell-oauth-resource-indicators-00
> 
> I liked the usage in https://tools.ietf.org/html/rfc7515
> 
>    Collision-Resistant Name
>       A name in a namespace that enables names to be allocated in a
>       manner such that they are highly unlikely to collide with other
>       names.  Examples of collision-resistant namespaces include: Domain
>       Names, Object Identifiers (OIDs) as defined in the ITU-T X.660 and
>       X.670 Recommendation series, and Universally Unique IDentifiers
>       (UUIDs) [RFC4122 <https://tools.ietf.org/html/rfc4122>].  When using
an
> administratively delegated
>       namespace, the definer of a name needs to take reasonable
>       precautions to ensure they are in control of the portion of the
>       namespace they use to define the name.
> 
> 
> 
> --
> -jim
> Jim Willeke
> 
> On Thu, Nov 17, 2016 at 10:23 AM, Vivek Biswas <vivek.biswas@oracle.com>
> wrote:
> 
> > +1 to *It MAY be an absolute URI*, as specified by Section 4.3 of
> > [RFC3986]".
> >
> > Since the Audience Restriction can be a logical name to be interpreted
> > by the Resource Server, if it really wants to enforce the audience
> > check for a set of Resources it wants to protect.
> > Hence, a logical name can be an absolute URI or a String as well.
> >
> > Regards
> > Vivek Biswas, CISSP
> > Consulting Member, Security
> > Oracle Corporation.
> >
> >
> >
> > *From:* Denis [mailto:denis.ietf@free.fr]
> > *Sent:* Tuesday, November 15, 2016 3:50 AM
> > *To:* oauth@ietf.org
> > *Subject:* [OAUTH-WG] About Big Brother and
> > draft-campbell-oauth-resource-
> > indicators-00
> >
> >
> >
> > Hello everybody,
> >
> > Since I am not present at the meeting, I read the minutes from the
> > first session, in particular:
> >
> > Brian Campbell and John did a draft allowing the client to tell the AS
> > where it plans to use the token
> > draft-campbell-oauth-resource-indicators
> >
> >               This enables the AS to audience restrict the access
> > token to the resource
> >               Phil Hunt:  We should keep the audience restriction idea
> > on the table
> >
> > The introduction contains the following sentences:
> >
> > Several years of deployment and implementation experience with OAuth
> > 2.0 [RFC6749] has uncovered a need, in some circumstances, for the
> > client to explicitly signal to the authorization sever where it
> > intends to use the access token it is requesting.
> >
> > A means for the client to signal to the authorization sever where it
> > intends to use the access token it's requesting is important and useful.
> >
> > The document contains a "security considerations" section but
> > unfortunately no "privacy considerations" section.
> >
> > Clause 2 states:
> >
> > The client may indicate the resource server(s) for which it is
> > requesting an access token by including the following parameter in the
> > request.
> >
> > resource
> >
> > OPTIONAL. The value of the resource parameter indicates a resource
> > server where the requested access token will be used.* It MUST be an
> > absolute URI*, as specified by Section 4.3 of[RFC3986],
> >
> > With such an approach, the authorization server would have the ability
> > to *act as a Big Brother *and hence to know exactly where the user
> > will be performing activities.
> >
> > However, some users might be concerned with their privacy, and would
> > like to restrict the use of the access token to some resource servers
> > without the authorization server knowing which are these resource
> > servers.
> >
> > The key point is whether the information is primarily intended to the
> > authorization server or to the resource server(s).
> >
> > I believe that it is primarily intended to the resource server(s)
> > rather than to the authorization server in order to be included in an
> > access token. Obviously, the information needs to transit through the
> > authorization sever, that should simply be copied and pasted into the
> > access token. Its semantics, if any, does not necessarily needs to be
> > interpreted by the authorization sever.
> >
> > I believe that a "privacy considerations" section should be added.
> >
> > The sentence "*It MUST be an absolute URI*, as specified by Section
> > 4.3 of [RFC3986]" should be removed or  replaced by : "*It MAY be an
> > absolute URI*, as specified by Section 4.3 of [RFC3986]".
> >
> > Obviously, other changes would be necessary too.
> >
> > Denis
> >
> > _______________________________________________
> > OAuth mailing list
> > OAuth@ietf.org
> > https://www.ietf.org/mailman/listinfo/oauth
> >