Table of Contents

Security

Using SSL

If your VuFind system takes sensitive information as input (for example, if you use a shared authentication method and want to protect passwords from being sent in plain text), you may want to consider putting it behind SSL so that communications are encrypted.

SSL configuration is beyond the scope of this document, but a lot of helpful resources exist on the web. For example, the Building a Secure RedHat Apache Server HOWTO is a good starting point (and relevant beyond just RedHat).

Once you have SSL configured, if you want to force VuFind to always run behind SSL, you can add these lines above the other RewriteRules in your Apache configuration in httpd-vufind.conf to force a redirect of non-SSL traffic to SSL URLs:

    # Ensure that we are under SSL:
    RewriteCond   %{SERVER_PORT} !^443$
    RewriteRule   ^.*$                          https://%{SERVER_NAME}%{REQUEST_URI}  [L,R]

Locking Down Solr

To ensure that your data is secure, it is advised that you lock down the solr server to only be accessible from your local webserver. The default port is 8080. This port should be locked down to eliminate security threats to your data.

Changing the Solr Port Number

If necessary, you can change the port number used by Solr by following these steps:

1. Reconfigure Jetty

Edit the file solr/jetty/etc/jetty.xml under your VuFind installation and change this line:

<Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set>

2. Reconfigure VuFind

Edit the solr.hosturl setting in the import/import.properties file (and also import/import_auth.properties, if you plan on importing authority records):

solr.hosturl = http://localhost:8080/solr/biblio/update

Edit the [Statistics] and/or [Index] sections of the web/conf/config.ini files as appropriate:

[Statistics]
...
solr            = http://localhost:8080/solr
...
[Index]
...
url             = http://localhost:8080/solr

3. Restart VuFind

Restart the VuFind process so the changes can take effect; i.e., in Linux, switch to the VuFind directory and run:

./vufind.sh restart

Locking Down the Admin Panel

VuFind includes an administration module (accessible through http://your_vufind_url/Admin/Home). This is useful, but it can be dangerous in the wrong hands. To protect yourself, consider these points: