mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 15:10:23 +00:00
examples: update docs
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
4d4d2ad801
commit
193d11587d
6 changed files with 8 additions and 4 deletions
|
@ -56,3 +56,5 @@ We provide the following examples:
|
|||
- [Check password hook](./checkpwd/README.md) for 2FA using a password consisting of a fixed string and a One Time Token.
|
||||
|
||||
Please note that these are sample programs not intended for production use, you should write your own hook based on them and you should prefer HTTP based hooks if performance is a concern.
|
||||
|
||||
:warning: SFTPGo has also built-in 2FA support.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Data Backup
|
||||
|
||||
:warning: Since v2.4.0 you can use the [EventManager](../../docs/eventmanager.md) to schedule backups.
|
||||
:warning: Since v2.4.0 you can use the [EventManager](https://sftpgo.github.io/latest/eventmanager/) to schedule backups.
|
||||
|
||||
The `backup` example script shows how to use the SFTPGo REST API to backup your data.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# File retention policies
|
||||
|
||||
:warning: Since v2.4.0 you can use the [EventManager](../../docs/eventmanager.md) to schedule data retention checks.
|
||||
:warning: Since v2.4.0 you can use the [EventManager](https://sftpgo.github.io/latest/eventmanager/) to schedule data retention checks.
|
||||
|
||||
The `checkretention` example script shows how to use the SFTPGo REST API to manage data retention.
|
||||
|
||||
|
|
|
@ -45,4 +45,4 @@ aci: (targetattr = "sshPublicKey") (version 3.0; acl "Allow members of sshpublic
|
|||
-
|
||||
```
|
||||
|
||||
Please feel free to send pull requests to improve this example authentication program, thanks!
|
||||
:warning: A plugin for LDAP/Active Directory authentication is also [available](https://github.com/sftpgo/sftpgo-plugin-auth).
|
||||
|
|
|
@ -9,3 +9,5 @@ You can build this example using the following command:
|
|||
```console
|
||||
go build -ldflags "-s -w" -o ldapauthserver
|
||||
```
|
||||
|
||||
:warning: A plugin for LDAP/Active Directory authentication is also [available](https://github.com/sftpgo/sftpgo-plugin-auth).
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Update user quota
|
||||
|
||||
:warning: Since v2.4.0 you can use the [EventManager](../../docs/eventmanager.md) to schedule quota scans.
|
||||
:warning: Since v2.4.0 you can use the [EventManager](https://sftpgo.github.io/latest/eventmanager/) to schedule quota scans.
|
||||
|
||||
The `scanuserquota` example script shows how to use the SFTPGo REST API to update the users' quota.
|
||||
|
||||
|
|
Loading…
Reference in a new issue