Re: Basic Auth Permission

2018-12-08 Thread Terry Steichen
What Noble Paul says is true: Solr can't - directly - restrict access to static files. However, if you set your file repository's permissions to a minimal level (so, for example, users can't do a directory search), then they must know the precise name and location of the file they're trying to

Re: Basic Auth Permission

2018-12-07 Thread Noble Paul
You can't restrict access to static files. You can only restrict access to Solr content. However you can use the "blockUnknown" property in your security.json to restrict access to all files https://lucene.apache.org/solr/guide/7_5/basic-authentication-plugin.html --Noble On Sat, Jun 9, 2018 at

Re: Basic Auth Permission

2018-12-05 Thread yydpkm
Authentication does work and authorization for general is working fine. But nothing authorization works when specified certain collection. That's so frustrating. It is weird that even I just do simple "path":"/*" won't do anything if I add "collection":"a". -- Sent from:

Re: Basic Auth Permission

2018-12-04 Thread Antony A
I run on Solr cloud 7.2.1 Sent from my mobile. Please excuse any typos. > On Dec 4, 2018, at 2:57 PM, Terry Steichen wrote: > > I think there's been some confusion on which standalone versions support > authentication. I'm using 6.6 in cloud mode (purely so the > authentication will work).

Re: Basic Auth Permission

2018-12-04 Thread Terry Steichen
I think there's been some confusion on which standalone versions support authentication.  I'm using 6.6 in cloud mode (purely so the authentication will work).  Some of the documentation seems to say that only cloud implementations support it, but others (like the experts on this forum) say that

Re: Basic Auth Permission

2018-12-04 Thread yydpkm
I am using standalone Solr 7.4.0. Are you using cloud or standalone? Not sure if that cause the problem or not. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Basic Auth Permission

2018-12-04 Thread Terry Steichen
What Solr version are you using? On 12/4/18 2:47 PM, yydpkm wrote: > Thank you for your replay. I use your format and failed. User2 can still > visit collection "name" > Could that because I am using standalone Solr not Solrcloud? > > > > -- > Sent from:

Re: Basic Auth Permission

2018-12-04 Thread yydpkm
I tried to replace "/select" with "/*" but user B can still access collection A. "permissions":[ { "name":"security-edit", "role":"admin", "index":1}, { "name":"PermA", "collection":CollectionA"", "path":"/*",

Re: Basic Auth Permission

2018-12-04 Thread yydpkm
Thank you for your replay. I use your format and failed. User2 can still visit collection "name" Could that because I am using standalone Solr not Solrcloud? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Basic Auth Permission

2018-12-04 Thread Antony A
Hi Rick, This is how I was able to restrict permissions to user-role ( user1 ) to its own collection. Hopefully it helps. "permissions": [ {"name": "*", "path": "/dataimport", "params": {"command": ["status"]}, "role": "*"}, {"collection": "name", "path": "/admin/file", "role":

Re: Basic Auth Permission

2018-12-04 Thread Terry Steichen
In setting his permission, Antony said he set "path": "/admin/file".  I use "path":"/*" - that may be too restrictive for you, but it works fine (for me). On 12/4/18 9:55 AM, yydpkm wrote: > Hi Antony, > > Have you solved this? I am facing the same thing. Other users can still do > /select after

Re: Basic Auth Permission

2018-12-04 Thread yydpkm
Hi Antony, Have you solved this? I am facing the same thing. Other users can still do /select after I set the permission path and collection. Best, Rick -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Basic Auth Permission

2018-06-08 Thread Antony A
Hello, I am trying to get the path/params restricted to users of individual collection through Solr UI. Here is the permission that I have for an user. {"collection": "collection_name", "path": "/admin/file", "role": [" collection_user"]} I am still not able to restrict another user from

Re: Securing solr 5.2 basic auth permission rules

2015-09-18 Thread Aziz Gaou
etty8 solr versions but with the new > jetty9 modules/classloaders it's proving a challenge. > > Marshall Sanders > Technical Lead – Software Engineer > Autotrader.com > 404-568-7130 > > -Original Message- > From: Aziz Gaou [mailto:gaoua...@gmail.com] > Sent

Re: Securing solr 5.2 basic auth permission rules

2015-09-17 Thread Aziz Gaou
thank you so much for your reply 2015-09-16 18:58 GMT+00:00 Anshum Gupta : > Basic authentication (and the API support, that you're trying to use) was > only released with 5.3.0 so it wouldn't work with 5.2. > 5.2 only had the authentication and authorization frameworks,

Re: Securing solr 5.2 basic auth permission rules

2015-09-17 Thread Aziz Gaou
thank you so much for your reply, Now, i try to protect Apache Solr 5 admin with jetty, when I change 1) sudo nano /opt/solr/server/etc/webdefault.xml Solr /* search-role BASIC Solr Realm 2) i changed too "*jetty.xml *

RE: Securing solr 5.2 basic auth permission rules

2015-09-17 Thread Sanders, Marshall (AT - Atlanta)
a challenge. Marshall Sanders Technical Lead – Software Engineer Autotrader.com 404-568-7130 -Original Message- From: Aziz Gaou [mailto:gaoua...@gmail.com] Sent: Thursday, September 17, 2015 5:55 AM To: solr-user@lucene.apache.org Subject: Re: Securing solr 5.2 basic auth permission rules

RE: Securing solr 5.2 basic auth permission rules

2015-09-17 Thread Davis, Daniel (NIH/NLM) [C]
Subject: RE: Securing solr 5.2 basic auth permission rules So the issue is that when it's stated that solr runs on jetty 9 what it really means is that it runs on 5% of jetty9 and the other 95% has been stripped out. (WH! It's only ~13 MB) You'll need to download the appropriate version

RE: Securing solr 5.2 basic auth permission rules

2015-09-17 Thread Sanders, Marshall (AT - Atlanta)
-user@lucene.apache.org Subject: RE: Securing solr 5.2 basic auth permission rules I'm actually trying to do something similar with 5.3 We're in the process of upgrading from 4.10 and were previously using jaas to secure dih pages and a few others and had a config similar to what you described

Fwd: Securing solr 5.2 basic auth permission rules

2015-09-16 Thread Aziz Gaou
Hi, I try to follow: https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin, to protect Solr 5.2 Admin with password, but I have not been able to secure. 1) When I run the following command: curl --user solr:SolrRocks http://localhost:8983/solr/admin/authentication -H

Re: Securing solr 5.2 basic auth permission rules

2015-09-16 Thread Anshum Gupta
Basic authentication (and the API support, that you're trying to use) was only released with 5.3.0 so it wouldn't work with 5.2. 5.2 only had the authentication and authorization frameworks, and shipped with Kerberos authentication plugin out of the box. There are a few known issues with that