security - Locking down SOLR on ColdFusion 9 -


this might belong on serverfault, please move if does.

we discovered can list of solr indexes going to: http://example.com:8983/solr/ allows access solr admin each index. strikes as... bad thing. luckily though, locked down accessbile ip (our office ip via firewall), still means janitor can access our solr collections. not ideal.

one way circumvent has been remove admin folder, still allows people access http://example.com:8983/solr/ isn't ideal.

i've read through solr documentation on security, can't seem lock down access /solr/*. might case of looking @ wrong part of documentation.

using code documentation:

<security-constraint>   <web-resource-collection>     <web-resource-name>solr authenticated application</web-resource-name>     <url-pattern>/core1/*</url-pattern>   </web-resource-collection>   <auth-constraint>     <role-name>core1-role</role-name>   </auth-constraint> </security-constraint>  <login-config>   <auth-method>basic</auth-method>   <realm-name>test realm</realm-name> </login-config> 

and replacing <url-pattern>/core1/*</url-pattern> actual solr collection name mean when visiting http://example.com:8983/solr/collection_name/ ask me login , password, however, when trying lock down /solr/* or * no such luck.

i'm using built in solr came cf9

is remote solr server or on same server cf9, if on same server cf9 can tell solr listen on 127.0.0.1. there patch cf 9.0.0 in 2010: http://www.adobe.com/support/security/bulletins/apsb10-04.html

if remote solr server, can use network firewall, or local firewall (windows firewall or iptables) limit access port (and possibly server) cf server.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -