Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Lucene, mail # dev - RE: FW: Solr and LCF security at query time


+
karl.wright@... 2010-04-22, 00:02
+
karl.wright@... 2010-04-22, 09:02
+
Lance Norskog 2010-10-04, 02:58
+
karl.wright@... 2010-10-04, 08:48
+
Jan Høydahl / Cominvent 2010-10-04, 16:30
+
Peter Sturge 2010-04-22, 08:27
+
karl.wright@... 2010-04-22, 09:25
+
Peter Sturge 2010-04-22, 13:23
+
karl.wright@... 2010-04-22, 13:52
+
Peter Sturge 2010-04-22, 15:32
+
karl.wright@... 2010-04-22, 15:57
+
Peter Sturge 2010-04-22, 16:22
+
karl.wright@... 2010-04-27, 12:20
+
karl.wright@... 2010-04-27, 21:21
+
Peter Sturge 2010-04-28, 11:17
+
karl.wright@... 2010-04-28, 11:54
+
karl.wright@... 2010-04-28, 11:46
Copy link to this message
-
Re: FW: Solr and LCF security at query time
Peter Sturge 2010-04-28, 13:16
Hi Karl,

Yes, I don't doubt that using an external mechanism such as AD lockout will
work for those and other environments. I guess it comes down to the
difference between bespoke consultancy-type solutions and general-purpose
product solutions, of which the requirements are often very different. For a
general Access Control solution integrated into Solr, assumptions on the
presence/type of such external controls can't, and should't be assumed. If
they are/must be assumed, one of the core reasons for adding the new
functionality is missing.

As a starting point, for a general purpose access control system, at least
the following questions need to be addressed:
   * What happens when access control needs to change?
   * What happens if access control needs to change often (e.g. more than
several times a day)?
   * Can the access control cope with multiple data source types, without
the need for custom code, including data with no attached acl information?
   * If I change my access control, how is 'offline' data affected? (e.g.
backed-up data)
   * Will the access control satisfy regulatory compliance specs on it own,
or is an external mechanism required?
      (currently, Solr requires an external mechanism, but so also the
proposed solution)

As you might have guessed, I've been down this road before, and the
productization of security control has many facets, and these, as a general
rule, need to be addressed differently in products than in site-specific
deployments - mainly because products can't assume the envinroment(s) they
will run in (e.g. Active Directory).

The good thing is, there is a good alternative - that is: to store access
control information separately from indexed data and separately from an
authority. To me, that's where the beauty of an LCF plugin architecture
lives. Then, the task is to provide the integration tools (and it sounds
like LCF is very well suited for this) to deliver the 'bridge' between
content and authorization. (as you quite rightly said, authentication is a
separate, albeit related, subject)

Thanks,
Peter
On Wed, Apr 28, 2010 at 12:46 PM, <[EMAIL PROTECTED]> wrote:

>  >>>>>>
> With regards schema extension, I believe we need to be very careful here,
> as requiring index-time storage of access control data will pose a problem
> for any use cases where the access control needs to change (maybe often,
> maybe only occasionally). I'm trying to think of a use case where this
> wouldn't at least potentially be the case, and I can't think of one, but
> perhaps I'm not truly understanding what exactly is stored in the
> __ALLOW_TOKEN__ and __DENY_TOKEN__ fields, and how/where subsequent acl
> changes would fit in (e.g. let's say someone has left my organization, do I
> have to update documents to remove his/her access?).
> <<<<<<
>
> Usually the way this works is that the user's account is locked out so they
> can't log in.  The authority service picks up this change, and it therefore
> takes place immediately.
>
> Bear in mind that this particular model has been employed by MetaCarta for
> more than five years in the field with clients such as pretty near all the
> major oil companies, many U.S. government agencies, the U.S. military, etc.
> In that time we have not heard even one complaint about the security model.
>
> Karl
>
>
>  ------------------------------
> *From:* ext Peter Sturge [mailto:[EMAIL PROTECTED]]
> *Sent:* Wednesday, April 28, 2010 7:18 AM
>
> *To:* [EMAIL PROTECTED]
> *Cc:* [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED]
> *Subject:* Re: FW: Solr and LCF security at query time
>
> Hi Karl,
>
> Apologies for the delayed reply. I've been away on business, and in the
> middle of a product release, so it's been a busy time...
>
> In response to your eariler questions:
>
> The 'AND/OR' filter query, will ultimately map down Lucene Boolean clauses,
> although the point at which these are done is slightly different.
+
Peter Sturge 2010-04-29, 00:07
+
karl.wright@... 2010-04-29, 00:24
+
Peter Sturge 2010-04-29, 09:35
+
karl.wright@... 2010-04-29, 12:10
+
Peter Sturge 2010-04-29, 13:55
+
karl.wright@... 2010-04-29, 14:45
+
Peter Sturge 2010-04-29, 15:03
+
karl.wright@... 2010-04-29, 15:40
+
karl.wright@... 2010-04-20, 12:25
+
Peter Sturge 2010-04-20, 14:44
+
karl.wright@... 2010-04-20, 15:08
+
Peter Sturge 2010-04-20, 21:40
+
karl.wright@... 2010-04-20, 22:05