eZ Community » Forums » Extensions » eZ Find » Protect solr admin on 8983
expandshrink

Protect solr admin on 8983

Protect solr admin on 8983

Wednesday 25 January 2012 6:39:23 pm - 7 replies

Hello,

How can we protect port 8983 on a server running solr ?

What is the right way to secure this access ?

Thank you

Wednesday 25 January 2012 6:58:01 pm

If the server is running unix, it's probably simple enough to protect the solr server via Unix based IPTABLES commands... to wit: http://www.techrepublic.com/blog/...es-to-help-secure-your-linux-box/539

Wednesday 25 January 2012 7:26:43 pm

Thank you Nate for this solution.

Gonna try to find a solution where i can still authenticate to those pages.

Wednesday 25 January 2012 10:36:53 pm

I think this should do it:

iptables -A INPUT ! -s 127.0.0.1 -p tcp -m multiport --dports 8983 -j REJECT --reject-with icmp-port-unreachable

Wednesday 25 January 2012 11:52:53 pm

Great thank you i'll try that.

Thursday 26 January 2012 2:29:59 pm

Hi,

An other way is to configure solr to protect, via login/password, some/all uri. 

Please read official solr wiki for more details: http://wiki.apache.org/solr/SolrSecurity#Path_Based_Authentication

 

Cheers,

Philippe

Thursday 26 January 2012 3:17:43 pm

I second @Philippe Vincent-Royol's reply: http://wiki.apache.org/solr/SolrSecurity. It has everything you want, I believe happy.gif Emoticon

Thursday 26 January 2012 7:35:49 pm

Thank you Bertrand, i've read those pages before posting the topic.

I was hoping someone could post an ezfind ready jetty config to protect those pages.

This apache solr security documentation is totally obscure for me and directive mentioned are not changing anything here...never touched a line of java before this afternoon sad.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from