mirror of
https://github.com/filegator/filegator.git
synced 2025-08-10 23:44:01 +02:00
Website generation with Couscous
This commit is contained in:
@@ -133,21 +133,21 @@
|
||||
<p>Simple security service is included in the script by default. This service provides:</p>
|
||||
<ul>
|
||||
<li>Basic session-based <a href="https://en.wikipedia.org/wiki/Cross-site_request_forgery">CSRF</a> protection</li>
|
||||
<li>IP whitelisting</li>
|
||||
<li>IP blacklisting</li>
|
||||
<li>IP allow list</li>
|
||||
<li>IP deny list</li>
|
||||
</ul>
|
||||
<pre><code> 'Filegator\Services\Security\Security' => [
|
||||
'handler' => '\Filegator\Services\Security\Security',
|
||||
'config' => [
|
||||
'csrf_protection' => true,
|
||||
'ip_whitelist' => [],
|
||||
'ip_blacklist' => [
|
||||
'ip_allowlist' => [],
|
||||
'ip_denylist' => [
|
||||
'172.16.1.2',
|
||||
'172.16.3.4',
|
||||
],
|
||||
],
|
||||
],</code></pre>
|
||||
<p>If you set <code>ip_whitelist</code> then only users coming from listed IP addresses will be able to use the script.</p>
|
||||
<p>If you set <code>ip_allowlist</code> then only users coming from listed IP addresses will be able to use the script.</p>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user