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 Ryan W <ry...@gmail.com> on 2020/03/11 19:39:36 UTC
Restrict access to admin interface by IP address in Solr 7.7.2
What options do I have for restricting access to the admin UI by IP
address? In Solr 6.x, this could be done with an IPAccessHandler in
jetty.xml, but this doesn't seem to work in Solr 7.x. Is there some other
way to do it?
Thanks!
Re: Restrict access to admin interface by IP address in Solr 7.7.2
Posted by Ryan W <ry...@gmail.com>.
It looks like IPAccessHandler is deprecated in my version of jetty (9.4.14)
in favor of InetAccessHandler. However, I can find no information or
examples of how to implement InetAccessHandler. I see some disembodied
code examples here and there, but no indication of where and how to
implement.
On Wed, Mar 11, 2020 at 6:25 PM Jan Høydahl <ja...@cominvent.com> wrote:
> That should still work if you follow Jetty’s procedures for the version of
> Jetty you’re at.
> In 8.5 this will be much simpler:
> https://issues.apache.org/jira/browse/SOLR-14136
>
> Jan
>
> > 11. mar. 2020 kl. 20:39 skrev Ryan W <ry...@gmail.com>:
> >
> > What options do I have for restricting access to the admin UI by IP
> > address? In Solr 6.x, this could be done with an IPAccessHandler in
> > jetty.xml, but this doesn't seem to work in Solr 7.x. Is there some
> other
> > way to do it?
> >
> > Thanks!
>
>
Re: Restrict access to admin interface by IP address in Solr 7.7.2
Posted by Jan Høydahl <ja...@cominvent.com>.
That should still work if you follow Jetty’s procedures for the version of Jetty you’re at.
In 8.5 this will be much simpler: https://issues.apache.org/jira/browse/SOLR-14136
Jan
> 11. mar. 2020 kl. 20:39 skrev Ryan W <ry...@gmail.com>:
>
> What options do I have for restricting access to the admin UI by IP
> address? In Solr 6.x, this could be done with an IPAccessHandler in
> jetty.xml, but this doesn't seem to work in Solr 7.x. Is there some other
> way to do it?
>
> Thanks!