On Oct 22, 2013, at 15:32 , Raheel Hasan <raheelhasan....@gmail.com> wrote: > Hi, > > I want to know how to secure the admin section. The site " > http://wiki.apache.org/solr/SolrSecurity" has a lot of stuff, but I want to > put htaccess based restriction. > > Can anyone tell me where to place the htaccess? > > I am using solr 4.3 > > thanks.
Restrict solr to localhost, then use apache/nginx/whatever in front of it, to serve as a reverse proxy and enforce access control. If you have content with access restrictions, you may also want to involve some sort of component that adds user-specific access filters to each query. Note: this becomes somewhat more complex if you want to feed content from other servers - in that case, you need to provide filters also for /update (and possibly upodate/request).