Limit access to read-only for my opensolr index

1 like 0 dislike
16 views

I'm sure there's a simple answer to this but I'm wondering if you could point me
in the right direction.  We have an index that we'd like to make available to a
3rd party, but just read-only.  I'm not sure how to do this -- does one e.g.
created a second "user" in the Solr system with a defined, limited set of
privileges (just ability to read data but not write it)?

asked Jul 27 in Other topics by Darren

1 Answer

0 like 0 dislike
 
Best answer

Go to your opensolr index control panel.
You should find a list with all your opensolr indexes here 
Click on the index you want to restrict
Go to the SECURITY tab
Find out which IP address is your 3-rd party going to connect from
Remove any all is reaching / or all is reaching /SOMETHING from the IP access list
Add the 3-rd party’s IP address to /select -> since that’s the main solr endpoint for reading.
Add any other IPs for /update or simply to / which is all endpoints

That will limit the 3-rd pary to only access /select, while other ips you’ll setup for / or /update or whatever, will have access to all those others.

answered Jul 27 by admin (3,620 points)
...