Solr security question
- by Camran
I have a linux server, and I am about to upload a classifieds website to it.
The website is php based. That means php code adds/removes classifieds, with the help of the users offcourse.
The php-code then adds/removes a classified to a database index called Solr (like MySql).
Problem is that anybody can currently access the database, but I only want the website to access the database (solr).
Solr is on port 8983 as standard btw.
My Q is, if I add a rule in my firewall (iptables), to only allow connections coming from the servers IP to the Solr port nr, would this solve my issue?
Thanks