4

How can i protect the solr admin pages using a password?

I'm using :

sunspot_rails (2.1.1) sunspot_solr (2.1.1)

Application Setup :

Rails 3.2.12 ruby 2.0.0p598

Alfie
  • 2,706
  • 1
  • 14
  • 28
  • How does your User Model work? If you use [Devise](https://github.com/plataformatec/devise) you could simple put a `before_filter :authenticate_admin!` inside your solr controller. – The F Jul 28 '15 at 13:47
  • @TheF I'm guessing you haven't used sunspot-solr yet. Solr runs independently on a separate port. – Alfie Jul 28 '15 at 17:54

0 Answers0