About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
administration:security

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
administration:security [2020/06/04 17:23] – [Locking Down Solr] demiankatzadministration:security [2020/06/29 12:11] demiankatz
Line 32: Line 32:
 === 2. Reconfigure VuFind === === 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). Be sure to edit the versions in your [[configuration:local_settings_directory|local settings directory]] if using VuFind 2.x or newer.+You will need to adjust a few configuration files to reflect the new port number you have chosen. 
 + 
 +== A. SolrMarc Import Configuration == 
 + 
 +If you use SolrMarc to import MARC records, you must edit the solr.hosturl setting in the import/import.properties file (and also import/import_auth.properties, if you plan on importing authority records). Be sure to edit the versions in your [[configuration:local_settings_directory|local settings directory]] if using VuFind 2.x or newer.
  
 <code> <code>
-solr.hosturl = http://localhost:8080/solr/biblio/update+solr.hosturl = http://localhost:xxxx/solr/biblio/update
 </code> </code>
  
-Edit the [Statistics] and/or [Index] sections of the [[configuration:files:config.ini]] file as appropriate:+== B. VuFind Configuration == 
 + 
 +To ensure that VuFind can perform Solr searches, edit the [Index] section of the [[configuration:files:config.ini]] file as appropriate:
 <code> <code>
-[Statistics] 
-... 
-solr            = http://localhost:8080/solr 
-... 
 [Index] [Index]
 ... ...
-url             = http://localhost:8080/solr+url             = http://localhost:xxxx/solr
 </code> </code>
 +
 +== C. Other Configuration Files ==
 +
 +Some advanced features (such as [[indexing:websites|website searching]]) can be configured to connect to a different index from the one specified in config.ini. If you have customized this, you may need to adjust additional settings. Searching the $VUFIND_LOCAL_DIR/config/vufind directory for the old port number is a good way to be sure you haven't missed anything.
  
 === 3. Restart Solr === === 3. Restart Solr ===
Line 60: Line 66:
  
 VuFind stores some user information in its database.  Starting with VuFind 2.0RC1, you have the option to perform extra hashing/encryption to protect these credentials.  The settings are off by default in [[configuration:files:config.ini]], but they can be enabled through VuFind's auto-configuration pages.  Enabling security is highly recommended. VuFind stores some user information in its database.  Starting with VuFind 2.0RC1, you have the option to perform extra hashing/encryption to protect these credentials.  The settings are off by default in [[configuration:files:config.ini]], but they can be enabled through VuFind's auto-configuration pages.  Enabling security is highly recommended.
 +
 +===== Using a Content Security Policy =====
 +
 +Starting with VuFind 7.0, you can configure a [[administration:security:content_security_policy|content security policy]] to protect against cross-site scripting and other vulnerabilities. See the [[administration:security:content_security_policy|content security policy]] page for more details.
 ---- struct data ---- ---- struct data ----
 ---- ----
  
administration/security.txt · Last modified: 2024/02/20 13:09 by demiankatz