![]() This changes allows to password protect shares. It works by: * Allowing to optionally pass a password when creating a share * If set, the password + salt that is configured via a new flag will be hashed via bcrypt and the hash stored together with the rest of the share * Additionally, a random 96 byte long token gets generated and stored as part of the share * When the backend retrieves an unauthenticated request for a share that has authentication configured, it will return a http 401 * The frontend detects this and will show a login prompt * The actual download links are protected via an url arg that contains the previously generated token. This allows us to avoid buffering the download in the browser and allows pasting the link without breaking it |
||
---|---|---|
.circleci | ||
.github | ||
.tx | ||
auth | ||
cmd | ||
diskcache | ||
errors | ||
files | ||
fileutils | ||
frontend | ||
http | ||
img | ||
rules | ||
runner | ||
search | ||
settings | ||
share | ||
storage | ||
users | ||
version | ||
.docker.json | ||
.dockerignore | ||
.gitignore | ||
.golangci.yml | ||
.goreleaser.yml | ||
CHANGELOG.md | ||
Dockerfile | ||
Dockerfile.alpine | ||
Dockerfile.debian | ||
LICENSE | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go | ||
wizard.sh |
README.md
filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware.
Features
Please refer to our docs at https://filebrowser.org/features
Install
For installation instructions please refer to our docs at https://filebrowser.org/installation.
Configuration
Authentication Method - You can change the way the user authenticates with the filebrowser server
Command Runner - The command runner is a feature that enables you to execute any shell command you want before or after a certain event.
Custom Branding - You can customize your File Browser installation by change its name to any other you want, by adding a global custom style sheet and by using your own logotype if you want.
Contributing
If you're interested in contributing to this project, our docs are best places to start https://filebrowser.org/contributing.