This commit is contained in:
Milos Stojanovic
2019-06-18 15:46:40 +02:00
parent b42db38605
commit fff29ef124
3 changed files with 5 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ VALUES
('admin', 'Admin', 'admin', 'read|write|upload|download|batchdownload|zip', '/', '$2y$10$Nu35w4pteLfc7BDCIkDPkecjw8wsH8Y2GMfIewUbXLT7zzW6WOxwq');
```
Ath the end, open ```configuration.php``` and update Auth handler under section ```services``` to something like this:
At the end, open ```configuration.php``` and update Auth handler under section ```services``` to something like this:
```
'Filegator\Services\Auth\AuthInterface' => [

View File

@@ -20,3 +20,5 @@ Default logger handler will use ```/private/logs/app.log``` file to store applic
],
],
```
There are many different handlers you can use. Some of them are listed [here](https://github.com/Seldaek/monolog/blob/master/doc/02-handlers-formatters-processors.md#handlers).

View File

@@ -7,7 +7,6 @@ Simple security service is included in the script by default. This service provi
- IP whitelisting
- IP blacklisting
```
'Filegator\Services\Security\Security' => [
'handler' => '\Filegator\Services\Security\Security',
@@ -21,3 +20,5 @@ Simple security service is included in the script by default. This service provi
],
],
```
If you set ```ip_whitelist``` then only users coming from listed IP addresses will be able to use the script.