filebrowser/http
Alvaro Aleman d8f415f8ab
feat: allow to password protect shares (#1252)
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
2021-03-02 12:00:18 +01:00
..
auth.go feat: add single click mode (#1139) 2020-11-23 19:06:37 +01:00
commands.go feat: add disable exec flag (#1090) 2020-10-01 16:45:24 +02:00
data.go feat: allow to password protect shares (#1252) 2021-03-02 12:00:18 +01:00
http.go feat: add sharing management (#1178) (closes #1000) 2020-12-24 19:02:28 +01:00
preview.go feat: allow disabling file detections by reading header (#1175) 2021-01-07 11:30:17 +01:00
preview_enum.go fix: delete cached previews when deleting file 2020-07-28 11:59:55 +02:00
public.go feat: allow to password protect shares (#1252) 2021-03-02 12:00:18 +01:00
public_test.go feat: allow to password protect shares (#1252) 2021-03-02 12:00:18 +01:00
raw.go feat: allow disabling file detections by reading header (#1175) 2021-01-07 11:30:17 +01:00
resource.go feat: allow disabling file detections by reading header (#1175) 2021-01-07 11:30:17 +01:00
search.go feat: v2 (#599) 2019-01-05 22:44:33 +00:00
settings.go lint: lint the code 2019-04-20 14:15:28 +01:00
share.go feat: allow to password protect shares (#1252) 2021-03-02 12:00:18 +01:00
static.go fix: fix panic when accessing nonexistent .js file in static path (#1105) 2020-10-02 15:09:03 +02:00
users.go fix: don't allow to remove root user 2021-01-11 22:33:36 +01:00
utils.go fix: don't allow to remove root user 2021-01-11 22:33:36 +01:00