You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Tommy Chheng <to...@gmail.com> on 2010/05/10 17:47:00 UTC
readonly access for all host except for localhost
Is there a way to configure solr to only allow readonly access for all
external hosts except when the request is coming from localhost?
ex. solr-server.com:8983/solr/select is read-only accessible from remote
server and the remote server is not allow to do any update/delete POST
actions.
--
Tommy Chheng
Programmer and UC Irvine Graduate Student
Twitter @tommychheng
http://tommy.chheng.com
Re: readonly access for all host except for localhost
Posted by Lance Norskog <go...@gmail.com>.
This has to be done in the servlet container, not in Solr. Most
servlet containers have options to do this kind of control.
But! You have to add a different entry point for every query handler
you configure.
On Mon, May 10, 2010 at 8:47 AM, Tommy Chheng <to...@gmail.com> wrote:
> Is there a way to configure solr to only allow readonly access for all
> external hosts except when the request is coming from localhost?
>
> ex. solr-server.com:8983/solr/select is read-only accessible from remote
> server and the remote server is not allow to do any update/delete POST
> actions.
>
> --
> Tommy Chheng
> Programmer and UC Irvine Graduate Student
> Twitter @tommychheng
> http://tommy.chheng.com
>
>
--
Lance Norskog
goksron@gmail.com