It is very easy to do this on Apache, but you need to be aware that
User-Agent is extremely easy to both sniff and spoof.

Have you thought of perhaps using Client and Server Certificates to protect
the connection and embedding those certificates into clients?

Regards,
   Alex.

Personal blog: http://blog.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)


On Thu, Nov 8, 2012 at 9:39 AM, Bruno Mannina <bmann...@free.fr> wrote:

> Dear All,
>
> I'm using an external program (my own client) to access to my Apache-SolR
> database.
> I would like to restrict the SOLR access to a specific User-Agent (defined
> in my program).
>
> I would like to know if it's possible to do that directly in SolR config
> or I must
> process that in the Apache server?
>
> My program do only requests like this (i.e.):
> http://xxx.xxx.xxx.xxx:pp/**solr/select/?q=ap%3Afuelcell&**
> version=2.2&start=0&rows=10&**indent=on
>
> I can add on my HTTP component properties an User-Agent, Log, Pass, etc...
> like a standard Http connection.
>
> To complete: my soft is distribued to several users and I would like to
> limit the SOLR access to these users and with my program.
> FireFox, Chrome, I.E. will be unauthorized.
>
> thanks for your comment or help,
> Bruno
>
> Ubuntu 12.04LTS
> SolR 3.6
>

Reply via email to