Re: Fwd: solr-security-proxy

2017-12-01 Thread Rick Leir
a few AJAX GETs? Cheers -- Rick On November 30, 2017 3:10:14 PM EST, Rick Leir wrote: >Hi all >I have just been looking at solr-security-proxy, which seems to be a >great little app to put in front of Solr (link below). But would it >make more sense to use a whitelist of Solr parame

Fwd: solr-security-proxy

2017-11-30 Thread Rick Leir
Hi all I have just been looking at solr-security-proxy, which seems to be a great little app to put in front of Solr (link below). But would it make more sense to use a whitelist of Solr parameters instead of a blacklist? Thanks Rick https://github.com/dergachev/solr-security-proxy solr

Re: [Poll]: User need for Solr security

2015-03-16 Thread Ahmet Arslan
solr-user@lucene.apache.org Subject: RE: [Poll]: User need for Solr security Jan - we don't really need any security for our products, nor for most clients. However, one client does deal with very sensitive data so we proposed to encrypt the transfer of data and the data on disk through a Lucene

Re: [Poll]: User need for Solr security

2015-03-16 Thread Jan Høydahl
ramework). Does anyone know how Manifold > does it? > > - MJ > > -Original Message- > From: Markus Jelsma [mailto:markus.jel...@openindex.io] > Sent: Thursday, March 12, 2015 6:51 PM > To: solr-user@lucene.apache.org > Subject: RE: [Poll]: User need for Solr secur

Re: [Poll]: User need for Solr security

2015-03-13 Thread O. Klein
-User-need-for-Solr-security-tp4192624p4192816.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: [Poll]: User need for Solr security

2015-03-13 Thread Dmitry Kan
Jan, Index encryption is not really about trust to root users for us. It is about letting client company to be able to secure their index with their key. To prevent information loss through hacking to a server. What I agree with is that this does go beyond just search ;) Thanks for the JIRA, look

Re: [Poll]: User need for Solr security

2015-03-13 Thread Dmitry Kan
Eric, right, filesystem level encryption is the way. Making encryption part of the lucene data structures would be a tall order. On Thu, Mar 12, 2015 at 5:22 PM, Erick Erickson wrote: > About <1>. Gotta be careful here about what would be promised. You > really _can't_ encrypt the _indexed_ ter

Re: [Poll]: User need for Solr security

2015-03-12 Thread johnmunir
: RE: [Poll]: User need for Solr security Jan - we don't really need any security for our products, nor for most clients. However, one client does deal with very sensitive data so we proposed to encrypt the transfer of data and the data on disk through a Lucene Directory. It won't fil

RE: [Poll]: User need for Solr security

2015-03-12 Thread Markus Jelsma
benefit and it would certainly make Solr/Lucene the search platform to use for some enterprises. Markus -Original message- > From:Henrique O. Santos > Sent: Thursday 12th March 2015 23:43 > To: solr-user@lucene.apache.org > Subject: Re: [Poll]: User need for Solr security

Re: [Poll]: User need for Solr security

2015-03-12 Thread Henrique O. Santos
Hi, I’m currently working with indexes that need document level security. Based on the user logged in, query results would omit documents that this user doesn’t have access to, with LDAP integration and such. I think that would be nice to have on a future Solr release. Henrique. > On Mar 12,

Re: [Poll]: User need for Solr security

2015-03-12 Thread Jan Høydahl
If you cannot trust your root users you probably have bigger problems than with search... I think it has been suggested to encrypt on codec or directory level as well. Yep, here is the JIRA https://issues.apache.org/jira/browse/LUCENE-2228 :) -- Jan Høydahl, search solution architect Cominvent

Re: [Poll]: User need for Solr security

2015-03-12 Thread Erick Erickson
About <1>. Gotta be careful here about what would be promised. You really _can't_ encrypt the _indexed_ terms in a meaningful way and still search. And, as you well know, you can reconstruct documents from the indexed terms. It's lossy, but still coherent enough to give security folks fits. For in

Re: [Poll]: User need for Solr security

2015-03-12 Thread Dmitry Kan
Hi, Things you have mentioned would be useful for our use-case. On top we've seen these two requests for securing Solr: 1. Encrypting the index (with a customer private key for instance). There are certainly other ways to go about this, like using virtual private clouds, but having the feature i

[Poll]: User need for Solr security

2015-03-12 Thread Jan Høydahl
Hi, Securing various Solr APIs has once again surfaced as a discussion in the developer list. See e.g. SOLR-7236 Would be useful to get some feedback from Solr users about needs "in the field". Please reply to this email and let us know what security aspect(s) would be most important for your c

Re: solr security patch

2014-11-05 Thread kuttan palliyalil
Got it. Thank you Shawn. RegardsRaj On Wednesday, November 5, 2014 10:39 PM, Shawn Heisey wrote: On 11/5/2014 5:04 PM, kuttan palliyalil wrote: > I am trying to apply the security patch(Solr-4470.patch) on solr 4.10.1 tag. > SOLR-4470.patch 14/Mar/14 16:15278 kB > > Getting error w

Re: solr security patch

2014-11-05 Thread Shawn Heisey
On 11/5/2014 5:04 PM, kuttan palliyalil wrote: > I am trying to apply the security patch(Solr-4470.patch) on solr 4.10.1 tag. > SOLR-4470.patch 14/Mar/14 16:15278 kB > > Getting error with the hunk failure. Could any one confirm if this the right > patch for 4.10.1. The latest patch is almost 8

solr security patch

2014-11-05 Thread kuttan palliyalil
Hi,  I am trying to apply the security patch(Solr-4470.patch) on solr 4.10.1 tag.  SOLR-4470.patch 14/Mar/14 16:15278 kB Getting error with the hunk failure. Could any one confirm if this the right patch for 4.10.1. Thank you so much RegardsRaj

Re: SOLR Security - Displaying endpoints to public

2014-01-07 Thread Michael Della Bitta
ther at the document level or the communication level. It is strongly > > > recommended that the application server containing Solr be firewalled > > such > > > the only clients with access to Solr are your own.' > > > > > > Is the above statement true even if we

Re: SOLR Security - Displaying endpoints to public

2014-01-07 Thread Raymond Wiker
the application server containing Solr be firewalled > such > > the only clients with access to Solr are your own.' > > > > Is the above statement true even if we just display the read-only > endpoints > > to the public users? Can someone please advise? > >

Re: SOLR Security - Displaying endpoints to public

2014-01-06 Thread Otis Gospodnetic
rg/solr/SolrSecurity > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SOLR-Security-Displaying-endpoints-to-public-tp4109792.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: SOLR Security - Displaying endpoints to public

2014-01-06 Thread Raymond Wiker
On 06 Jan 2014, at 19:37 , Shawn Heisey wrote: > On 1/6/2014 11:18 AM, Shawn Heisey wrote: >> Even if you disable admin handlers so that it's impossible to gather full >> information about your schema and other settings, generating legitimate >> queries is probably enough for an attacker to ge

Re: SOLR Security - Displaying endpoints to public

2014-01-06 Thread Shawn Heisey
On 1/6/2014 11:18 AM, Shawn Heisey wrote: Even if you disable admin handlers so that it's impossible to gather full information about your schema and other settings, generating legitimate queries is probably enough for an attacker to get the information they need. Self-replying on this point:

Re: SOLR Security - Displaying endpoints to public

2014-01-06 Thread Shawn Heisey
On 1/6/2014 10:55 AM, Developer wrote: We are currently showing the SOLR endpoints to the public when using our application (public users would be able to view the SOLR endpoints (/select) and the query in debugging console). I am trying to figure out if there is any security threat in terms of

SOLR Security - Displaying endpoints to public

2014-01-06 Thread Developer
ext: http://lucene.472066.n3.nabble.com/SOLR-Security-Displaying-endpoints-to-public-tp4109792.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Security

2013-06-24 Thread Doug Turnbull
terrible, if > recent documentation is even available, which it's often not. Most of the > blog posts I found are from 2010, presumably long before the version I use > was created. > > According to the Solr Security wiki ( > http://wiki.apache.org/solr/SolrSecurity), it looks l

RE: Solr Security

2013-06-24 Thread Boogie Shafer
its a little frustrating to see the smug responses to your query and its fair to say the solr security situation could be *improved* this JIRA ticket is worth reading https://issues.apache.org/jira/browse/SOLR-4470 in short -it is possible to restrict access to solr nodes using connection

Re: Solr Security

2013-06-24 Thread Andy Lester
On Jun 24, 2013, at 12:51 AM, Aaron Greenspan wrote: > all of them are terrible, > it looks like you can edit some XML files (if you can find them) > The wiki itself is full of semi-useless information, which is pretty > infuriating since it's supposed to be the best source. > Statements l

Re: Solr Security

2013-06-24 Thread Walter Underwood
ost of the blog posts > I found are from 2010, presumably long before the version I use was created. > > According to the Solr Security wiki > (http://wiki.apache.org/solr/SolrSecurity), it looks like you can edit some > XML files (if you can find them) in complex ways to turn on

Re: Solr Security

2013-06-24 Thread Daniel Collins
To change Solr's default port number just pass -Djetty.port= on the command line, works a treat. As Solr is deployed as a web-app, it is assumed that the administrator would be familiar with web apps, servlet containers and their security, if not, then that is something you need to investigate

Re: Solr Security

2013-06-24 Thread K Wong
You might want to read up on Jetty webserver security if that is what you are using for the web container. K

Re: Solr Security

2013-06-23 Thread VIGNESH S
ure Solr, and found that all of them are terrible, if > recent documentation is even available, which it's often not. Most of the > blog posts I found are from 2010, presumably long before the version I use > was created. > > According to the Solr Security wiki ( > http://wiki.a

Solr Security

2013-06-23 Thread Aaron Greenspan
methods available to secure Solr, and found that all of them are terrible, if recent documentation is even available, which it's often not. Most of the blog posts I found are from 2010, presumably long before the version I use was created. According to the Solr Security wiki

Re: SOLR Security

2012-05-15 Thread Anupam Bhattacharya
nto a security layer. my solr servers only listen to > requests issued by a narrow list of systems, and everything gets routed > through a modified copy of the proxy.php file, which checks whether the > user is logged in, and adds terms to the query to limit returned results to > those th

RE: SOLR Security

2012-05-11 Thread Welty, Richard
user is logged in, and adds terms to the query to limit returned results to those the user is permitted to see. -Original Message- From: Jan Høydahl [mailto:j...@hoydahl.no] Sent: Fri 5/11/2012 9:45 AM To: solr-user@lucene.apache.org Subject: Re: SOLR Security Hi, There is nothing sto

Re: SOLR Security

2012-05-11 Thread Jan Høydahl
users data and can forward that to the Solr server, thereby hiding it >> from the client. >> >> Mike >> >> >> -Original Message- >> From: Anupam Bhattacharya [mailto:anupam...@gmail.com] >> Sent: Thursday, May 10, 2012 9:53 PM >> To:

Re: SOLR Security

2012-05-10 Thread Anupam Bhattacharya
t; Sent: Thursday, May 10, 2012 9:53 PM > To: solr-user@lucene.apache.org > Subject: SOLR Security > > I am using Ajax-Solr Framework for creating a search interface. The search > interface works well. > In my case, the results have document level security so by even indexing >

RE: SOLR Security

2012-05-10 Thread Klostermeyer, Michael
[mailto:anupam...@gmail.com] Sent: Thursday, May 10, 2012 9:53 PM To: solr-user@lucene.apache.org Subject: SOLR Security I am using Ajax-Solr Framework for creating a search interface. The search interface works well. In my case, the results have document level security so by even indexing

Re: Solr security

2011-05-10 Thread Brian Lamb
our >> backend services, whether it's a search server or a database server, to the >> public. >> >> Read more about Solr security on the WIKI: >> http://wiki.apache.org/solr/SolrSecurity >> >> -- >> Jan Høydahl, search solution architect >> Comin

Re: Solr security

2011-05-10 Thread Anthony Wlodarski
more about Solr security on the WIKI: http://wiki.apache.org/solr/SolrSecurity -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 9. mai 2011, at 20.57, Brian Lamb wrote: Hi all, Is it possible to set up solr so that it will only execute dataimport commands if they

Re: Solr security

2011-05-09 Thread Jan Høydahl
backend services, whether it's a search server or a database server, to the public. Read more about Solr security on the WIKI: http://wiki.apache.org/solr/SolrSecurity -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 9. mai 2011, at 20.57, Brian Lamb wrote:

Re: Solr security

2011-05-09 Thread Upayavira
Solr does not provide security (I believe Lucid EnterpriseWorks has something there). You should keep Solr itself secure behind a firewall, and pass all requests through some intermediary that only allows sensible stuff through to Solr itself. That way, the DataImportHandler is accessible inside y

Solr security

2011-05-09 Thread Brian Lamb
Hi all, Is it possible to set up solr so that it will only execute dataimport commands if they come from localhost? Right now, my application and my solr installation are on different servers so any requests are formatted http://domain:8983 instead of http://localhost:8983. I am concerned that wh

Re: Need feedback on solr security

2010-02-22 Thread Jan Høydahl / Cominvent
;>> Hi Group, >>> >>> I need some feedback on solr security. >>> >>> For Making by solr admin password protected, >>> I had used the Path Based Authentication form >>> http://wiki.apache.org/solr/SolrSecurity. >>> >>> In th

Re: Need feedback on solr security

2010-02-17 Thread Gora Mohanty
On Wed, 17 Feb 2010 10:13:46 -0400 "Fuad Efendi" wrote: > > You could set a firewall that forbid any connection to your > > Solr's server port to everyone, except the computer that host > > your application that connect to Solr. > > So, only your application will be able to connect to Solr. > >

RE: Need feedback on solr security

2010-02-17 Thread Fuad Efendi
For Making by solr admin password protected, I had used the Path Based Authentication form http://wiki.apache.org/solr/SolrSecurity. In this way my admin area,search,delete,add to index is protected.But Now when I make solr authenticated then for every update/delete f

RE: Need feedback on solr security

2010-02-17 Thread Fuad Efendi
> You could set a firewall that forbid any connection to your Solr's > server port to everyone, except the computer that host your application > that connect to Solr. > So, only your application will be able to connect to Solr. I believe firewalling is the only possible solution since SOLR doesn'

Re: Need feedback on solr security

2010-02-17 Thread Xavier Schepler
Xavier Schepler wrote: Vijayant Kumar wrote: Hi Xavier, Thanks for your feedback the firewall rule for the trusted IP is not fessiable for us because the application is open for public so we can not work through IP banning. Vijayant Kumar wrote: Hi Group, I need some feedback on solr

Re: Need feedback on solr security

2010-02-17 Thread Xavier Schepler
Vijayant Kumar wrote: Hi Xavier, Thanks for your feedback the firewall rule for the trusted IP is not fessiable for us because the application is open for public so we can not work through IP banning. Vijayant Kumar wrote: Hi Group, I need some feedback on solr security. For Making

Re: Need feedback on solr security

2010-02-17 Thread Vijayant Kumar
Hi Xavier, Thanks for your feedback the firewall rule for the trusted IP is not fessiable for us because the application is open for public so we can not work through IP banning. > Vijayant Kumar wrote: >> Hi Group, >> >> I need some feedback on solr security. >>

Re: Need feedback on solr security

2010-02-17 Thread Xavier Schepler
Vijayant Kumar wrote: Hi Group, I need some feedback on solr security. For Making by solr admin password protected, I had used the Path Based Authentication form http://wiki.apache.org/solr/SolrSecurity. In this way my admin area,search,delete,add to index is protected.But Now when I make

Need feedback on solr security

2010-02-17 Thread Vijayant Kumar
Hi Group, I need some feedback on solr security. For Making by solr admin password protected, I had used the Path Based Authentication form http://wiki.apache.org/solr/SolrSecurity. In this way my admin area,search,delete,add to index is protected.But Now when I make solr authenticated then

Solr Security

2009-08-07 Thread Francis Yakin
Have anyone had an experience to setup the Solr Security? http://wiki.apache.org/solr/SolrSecurity I would like to implement using HTTP Authentication or using Path Based Authentication. So, in the webdefault.xml I set like the following: Solr authenticated application

Re: Solr security

2008-11-17 Thread Chris Hostetter
: > Full ack. What do you think about the only solr related thing "left", the : > paramter filtering/blocking (eg. rows<1000). Is this suitable to do it in a : > Filter delivered by solr? Of course as an optional alternative. : As eric mentioned earlier, this could be done in a QueryComponent --

Re: Solr security

2008-11-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
If the user is using the new java Solr replication then he can get rid of the /update and /update/csv handlers altogether. So the slaves are completely read-only --Noble On Tue, Nov 18, 2008 at 2:14 AM, Sean Timm <[EMAIL PROTECTED]> wrote: > I believe the Solr replication scripts require POSTing

Re: Solr security

2008-11-17 Thread Ian Holsman
Ryan McKinley wrote: On Nov 17, 2008, at 4:20 PM, Erik Hatcher wrote: trouble is, you can also GET /solr/update, even all on the URL, no request body...

Re: Solr security

2008-11-17 Thread Ryan McKinley
On Nov 17, 2008, at 4:20 PM, Erik Hatcher wrote: trouble is, you can also GET /solr/update, even all on the URL, no request body... Solr is

Re: Solr security

2008-11-17 Thread Erik Hatcher
trouble is, you can also GET /solr/update, even all on the URL, no request body... Solr is a bad RESTafarian. Getting warmer! Erik

Re: Solr security

2008-11-17 Thread Ian Holsman
if thats the case putting apache in front of it would be handy. something like order deny,allow deny from all allow from 192.168.0.1 might be helpful. Sean Timm wrote: I believe the Solr replication scripts require POSTing a commit to read in the new index--so at least limited POST capabilit

Re: Solr security

2008-11-17 Thread Sean Timm
I believe the Solr replication scripts require POSTing a commit to read in the new index--so at least limited POST capability is required in most scenarios. -Sean Lance Norskog wrote: About that "read-only" switch for Solr: one of the basic HTTP design guidelines is that GET should only retur

RE: Solr security

2008-11-17 Thread Lance Norskog
About that "read-only" switch for Solr: one of the basic HTTP design guidelines is that GET should only return values, and should never change the state of the data. All changes to the data should be made with POST. (In REST style guidelines, PUT, POST, and DELETE.) This prevents you from passing a

Re: Solr security

2008-11-17 Thread Sean Timm
ng. -Todd Feak -Original Message- From: Matthias Epheser [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 9:07 AM To: solr-user@lucene.apache.org Subject: Re: Solr security Ryan McKinley schrieb: however I have found that in any site where stability/load and uptime are a seriou

Re: Solr security

2008-11-17 Thread Ian Holsman
cene.apache.org Subject: Re: Solr security Ryan McKinley schrieb: however I have found that in any site where stability/load and uptime are a serious concern, this is better handled in a tier in front of java -- typically the loadbalancer / haproxy / whatever -- and managed by people mor

Re: Solr security

2008-11-17 Thread Ryan McKinley
On Nov 17, 2008, at 12:06 PM, Matthias Epheser wrote: Ryan McKinley schrieb: however I have found that in any site where stability/load and uptime are a serious concern, this is better handled in a tier in front of java -- typically the loadbalancer / haproxy / whatever -- and managed by pe

RE: Solr security

2008-11-17 Thread Feak, Todd
[mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 9:07 AM To: solr-user@lucene.apache.org Subject: Re: Solr security Ryan McKinley schrieb: however I have found that in any site where > stability/load and uptime are a serious concern, this is better handled > in a tier in front of

Re: Solr security

2008-11-17 Thread Matthias Epheser
Ryan McKinley schrieb: however I have found that in any site where stability/load and uptime are a serious concern, this is better handled in a tier in front of java -- typically the loadbalancer / haproxy / whatever -- and managed by people more cautious then me. Full ack. What do you think

Re: Solr security

2008-11-17 Thread Mark Miller
Ryan McKinley wrote: solr.jar on the other hand lets you package what you want around search features to build a setup for your needs. Java already has so many options for how to secure / authenticate that you can just plug them into your own app. (if that is appropriate). In the past I have

Re: Solr security

2008-11-17 Thread Ryan McKinley
Say you do filtering by user - how would you enforce that the client (if it's a browser) only send in the proper filter? Ryan already mentioned his technique... and here's how I'd do it similarly... Write a custom servlet Filter that grokked roles/authentication (this piece you'd need i

Re: Solr security

2008-11-17 Thread Walter Underwood
TCP-level attacks like SYN-flooding. All kinds of HTTP breakage that Apache has fixed over the years. You really want a bombproof TCP and HTTP implementation. Very, very slow clients that keep a socket open for a long time while the bits drool out to them. We saw problems with all service thread

Re: Solr security

2008-11-17 Thread Erik Hatcher
On Nov 17, 2008, at 10:22 AM, Walter Underwood wrote: It is possible to make it safe, but a lot of work. We did this for Ultraseek. I would always, always front it with Apache, to get some of Apache's protection. What protections specifically are you speaking of with Apache in front? Authen

Re: Solr security

2008-11-17 Thread Walter Underwood
Limiting the number of rows only handles one attack. The one I mentioned, fetching one page deep in the result set, caused a big issue on prod at our site. We needed to limit the max for "start" as well as "rows". It is possible to make it safe, but a lot of work. We did this for Ultraseek. I woul

Re: Solr security

2008-11-17 Thread Matthias Epheser
Erik Hatcher schrieb: On Nov 16, 2008, at 6:18 PM, Ryan McKinley wrote: my assumption with solrjs is that you are hitting "read-only" solr servers that you don't mind if people query directly. Exactly the assumption I'm going with too. It would not be appropriate for something where you do

Re: Solr security

2008-11-17 Thread Erik Hatcher
On Nov 17, 2008, at 9:07 AM, Yonik Seeley wrote: On Mon, Nov 17, 2008 at 8:54 AM, Erik Hatcher <[EMAIL PROTECTED]> wrote: Sounds like the perfect case for a query parser plugin... or use dismax as Ryan mentioned. Shouldn't Solr be hardened for these cases anyway? Or at least hardenable.

Re: Solr security

2008-11-17 Thread Yonik Seeley
On Mon, Nov 17, 2008 at 8:54 AM, Erik Hatcher <[EMAIL PROTECTED]> wrote: > Sounds like the perfect case for a query parser plugin... or use dismax as > Ryan mentioned. Shouldn't Solr be hardened for these cases anyway? Or at > least hardenable. Say you do filtering by user - how would you enforc

Re: Solr security

2008-11-17 Thread Erik Hatcher
On Nov 16, 2008, at 6:55 PM, Walter Underwood wrote: Limiting the maximum number of rows doesn't work, because they can request rows 2-20100. --wunder But you could limit how many rows could be returned in a single request... that'd close off one DoS mechanism. Erik

Re: Solr security

2008-11-17 Thread Erik Hatcher
On Nov 16, 2008, at 6:27 PM, Ryan McKinley wrote: I'd be parsing out wildcards, boosts, and fuzzy searches (or at least thinking about the effects). I mean "jakarta apache"~1000 or roam~0.1 aren't as efficient as a regular query. Even if you leave the solr instance public, you can still l

Re: Solr security

2008-11-17 Thread Erik Hatcher
On Nov 16, 2008, at 6:18 PM, Ryan McKinley wrote: my assumption with solrjs is that you are hitting "read-only" solr servers that you don't mind if people query directly. Exactly the assumption I'm going with too. It would not be appropriate for something where you don't want people (who

Re: Solr security

2008-11-17 Thread Erik Hatcher
On Nov 16, 2008, at 6:12 PM, Ian Holsman wrote: famous last words and all, but you shouldn't be just passing what a user types directly into a application should you? LOL I'd be parsing out wildcards, boosts, and fuzzy searches (or at least thinking about the effects). I mean "jakarta

Re: Solr security

2008-11-16 Thread Walter Underwood
Limiting the maximum number of rows doesn't work, because they can request rows 2-20100. --wunder On 11/16/08 3:27 PM, "Ryan McKinley" <[EMAIL PROTECTED]> wrote: >> >> I'd be parsing out wildcards, boosts, and fuzzy searches (or at >> least thinking about the effects). >> I mean "jakarta apa

Re: Solr security

2008-11-16 Thread Ryan McKinley
I'd be parsing out wildcards, boosts, and fuzzy searches (or at least thinking about the effects). I mean "jakarta apache"~1000 or roam~0.1 aren't as efficient as a regular query. Even if you leave the solr instance public, you can still limit grossly inefficent params by forcing things

Re: Solr security

2008-11-16 Thread Ryan McKinley
ys (better ways) to make sure people are authorized/logged in etc. What do you imagine "solr security" would add? FYI, I used to have a custom RequstHandler that got the user principal from the HttpServletRequest (I have a custom SolrDispatchFilter that adds that to the context)

Re: Solr security

2008-11-16 Thread Walter Underwood
Agreed, it is pretty easy to create a large variety of denial of service attacks with sorts, wildcards, requesting a large number of results, or a page deep in the results. We have protected against several different DoS problems in our front-end code. wunder On 11/16/08 3:12 PM, "Ian Holsman" <

Re: Solr security

2008-11-16 Thread Ian Holsman
Erik Hatcher wrote: On Nov 16, 2008, at 5:41 PM, Ian Holsman wrote: First thing I would look at is disabling write access, or writing a servlet that sits on top of the write handler to filter your data. We can turn off all the update handlers, but how does that affect replication? Can a Sol

Re: Solr security

2008-11-16 Thread Erik Hatcher
are suggesting. Is there a general way people deal with security and search? I'm assuming we already have good ways (better ways) to make sure people are authorized/logged in etc. What do you imagine "solr security" would add? FYI, I used to have a custom RequstHandler tha

Re: Solr security

2008-11-16 Thread Mark Miller
Plus, it's just too big a can of worms for solr to handle. You could protect up to a small point, but a real ddos attack is not going to be defended against by solr. At best we could put in 'kiddie' protection against. - Mark On Nov 16, 2008, at 5:51 PM, Erik Hatcher <[EMAIL PROTECTED]>

Re: Solr security

2008-11-16 Thread Ryan McKinley
I'm not totally sure what you are suggesting. Is there a general way people deal with security and search? I'm assuming we already have good ways (better ways) to make sure people are authorized/logged in etc. What do you imagine "solr security" would add? FYI, I u

Re: Solr security

2008-11-16 Thread Erik Hatcher
On Nov 16, 2008, at 5:41 PM, Ian Holsman wrote: First thing I would look at is disabling write access, or writing a servlet that sits on top of the write handler to filter your data. We can turn off all the update handlers, but how does that affect replication? Can a Solr replicant be enti

Re: Solr security

2008-11-16 Thread Ian Holsman
Erik Hatcher wrote: I'm pondering the viability of running Solr as effectively a UI server... what I mean by that is having a public facing browser-based application hitting a Solr backend directly for JSON, XML, etc data. I know folks are doing this (I won't name names, in case this thread c

Solr security

2008-11-16 Thread Erik Hatcher
I'm pondering the viability of running Solr as effectively a UI server... what I mean by that is having a public facing browser-based application hitting a Solr backend directly for JSON, XML, etc data. I know folks are doing this (I won't name names, in case this thread comes up with any v

Re: Solr Security and XSRF

2008-06-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
SOLR-607 is still open.Till it is committed this solution may not be poossible --Noble On Mon, Jun 30, 2008 at 10:23 AM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > If you have a master slave configuration I guess it is a good idea to > remove the updatehandler altogether from slaves. >

Re: Solr Security and XSRF

2008-06-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
If you have a master slave configuration I guess it is a good idea to remove the updatehandler altogether from slaves. --Noble On Sat, Jun 28, 2008 at 2:39 AM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : > A basic technique that can be used to mitigate the risk of a possible CSRF > : > attack

Re: Solr Security and XSRF

2008-06-27 Thread Chris Hostetter
: > A basic technique that can be used to mitigate the risk of a possible CSRF : > attack like this is to configure your Servlet Container so that access to : > paths which can modify the index (ie: /update, /update/csv, etc...) are : > restricted either to specific client IPs, or using HTTP Authe

Re: Solr Security and XSRF

2008-06-26 Thread Christian Vogler
On Fri, Jun 27, 2008 at 1:54 AM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > A basic technique that can be used to mitigate the risk of a possible CSRF > attack like this is to configure your Servlet Container so that access to > paths which can modify the index (ie: /update, /update/csv, etc...)

Solr Security and XSRF

2008-06-26 Thread Chris Hostetter
Solr isn't normally concerned with "Security" related issues... http://wiki.apache.org/solr/SolrSecurity "It is strongly recommended that the application server containing Solr be firewalled such the only clients with access to Solr are your own. A default/example installation of