Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

read only access #13

Open
mk0x9 opened this issue Dec 27, 2019 · 3 comments
Open

read only access #13

mk0x9 opened this issue Dec 27, 2019 · 3 comments

Comments

@mk0x9
Copy link

mk0x9 commented Dec 27, 2019

Is it possible to configure read only access?

@chclaus
Copy link
Collaborator

chclaus commented Dec 28, 2019

Hej hej,
not yet, no. But I think it's a good idea. Do you want to implement it?

Work packages should be:

  • Extension of the configuration by (users.username.permissions).
  • Adding a check in app/fs.go
  • Writing a test

Best,
Christian

@mk0x9
Copy link
Author

mk0x9 commented Jan 9, 2020

Sorry, I'll pass. Played with other webdav server implementations and came to conclusion that webdav doesn't fit my needs.

@pataquets
Copy link
Contributor

Workaround: run it using Docker and mount data dir read-only.
Kind of hack-ish and perhaps will spit out errors when writing, but might be good enough for some.

Workaround 2: put it behind a reverse proxy which denies all non-read verbs (PUT, PATCH, etc.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants