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.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
administration:security [2018/12/19 17:32] – demiankatz | administration:security [2020/06/29 12:11] – demiankatz | ||
---|---|---|---|
Line 19: | Line 19: | ||
===== Locking Down Solr ===== | ===== 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. | + | 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 8983 in VuFind 7 and newer, |
Line 26: | Line 26: | ||
=== 1. Reconfigure Solr === | === 1. Reconfigure Solr === | ||
- | :!: If using VuFind 3.0 or newer, the Solr port number is controlled by the SOLR_PORT environment variable; just set this before [[administration: | + | If using VuFind 3.0 or newer, the Solr port number is controlled by the SOLR_PORT environment variable; just set this before [[administration: |
- | If using VuFind 2.x or earlier, you can change the port number used by Solr by editing the file solr/ | + | If using VuFind 2.x or earlier, you can change the port number used by Solr by editing the file solr/ |
- | + | ||
- | <code xml> | + | |
- | <Set name=" | + | |
- | </ | + | |
=== 2. Reconfigure VuFind === | === 2. Reconfigure VuFind === | ||
- | Edit the solr.hosturl setting in the import/ | + | 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/ | ||
< | < | ||
- | solr.hosturl = http:// | + | solr.hosturl = http:// |
</ | </ | ||
- | Edit the [Statistics] and/ | + | == B. VuFind Configuration == |
+ | |||
+ | To ensure that VuFind can perform Solr searches, edit the [Index] | ||
< | < | ||
- | [Statistics] | ||
- | ... | ||
- | solr = http:// | ||
- | ... | ||
[Index] | [Index] | ||
... | ... | ||
- | url = http:// | + | url = http:// |
</ | </ | ||
+ | |||
+ | == C. Other Configuration Files == | ||
+ | |||
+ | Some advanced features (such as [[indexing: | ||
=== 3. Restart Solr === | === 3. Restart Solr === | ||
Line 64: | Line 66: | ||
VuFind stores some user information in its database. | VuFind stores some user information in its database. | ||
+ | |||
+ | ===== Using a Content Security Policy ===== | ||
+ | |||
+ | Starting with VuFind 7.0, you can configure a [[administration: | ||
---- struct data ---- | ---- struct data ---- | ||
---- | ---- | ||
administration/security.txt · Last modified: 2024/05/22 17:27 by demiankatz