You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'<p>The File system cache is faster than calling Local API. Redis or Memcached is faster than the File System cache.<br>
186
-
If you are using File system cache, please refer to <a target="_blank" href="https://github.com/crowdsecurity/cs-wordpress-bouncer/blob/main/docs/USER_GUIDE.md#security">the documentation to deny direct access to the cache folder.</a></p>', [
186
+
<b>Important note: </b> If you use the File system cache, make sure the <i>wp-content/plugins/crowdsec/.cache</i> path is not publicly accessible.<br>
187
+
Please refer to <a target="_blank" href="https://github.com/crowdsecurity/cs-wordpress-bouncer/blob/main/docs/USER_GUIDE.md#security">the documentation to deny direct access to this folder.</a></p>', [
187
188
Constants::CACHE_SYSTEM_PHPFS => 'File system',
188
189
Constants::CACHE_SYSTEM_REDIS => 'Redis',
189
190
Constants::CACHE_SYSTEM_MEMCACHED => 'Memcached',
@@ -318,7 +319,9 @@ function convertInlineIpRangesToComparableIpBounds(string $inlineIpRanges): arra
318
319
**************************/
319
320
320
321
add_settings_section('crowdsec_admin_advanced_geolocation', 'Geolocation', function () {
321
-
echo'Configure some details about geolocation.';
322
+
echo'Configure some details about geolocation.<br>
323
+
<b>Important note: </b> If you use this feature, make sure the <i>wp-content/plugins/crowdsec/geolocation</i> path is not publicly accessible.<br>
324
+
Please refer to <a target="_blank" href="https://github.com/crowdsecurity/cs-wordpress-bouncer/blob/main/docs/USER_GUIDE.md#security">the documentation to deny direct access to this folder.</a>';
322
325
}, 'crowdsec_advanced_settings');
323
326
324
327
// Field "Geolocation enabled"
@@ -372,7 +375,9 @@ function convertInlineIpRangesToComparableIpBounds(string $inlineIpRanges): arra
372
375
******************************/
373
376
374
377
add_settings_section('crowdsec_admin_advanced_debug', 'Debug mode', function () {
375
-
echo'Configure the debug mode.<br>Please refer to <a target="_blank" href="https://github.com/crowdsecurity/cs-wordpress-bouncer/blob/main/docs/USER_GUIDE.md#security">the documentation to deny direct access to the log folder.</a>';
378
+
echo'Configure the debug mode.<br>
379
+
<b>Important note: </b> Make sure the <i>wp-content/plugins/crowdsec/logs</i> path is not publicly accessible.<br>
380
+
Please refer to <a target="_blank" href="https://github.com/crowdsecurity/cs-wordpress-bouncer/blob/main/docs/USER_GUIDE.md#security">the documentation to deny direct access to this folder.</a>';
0 commit comments