dave icon indicating copy to clipboard operation
dave copied to clipboard

read only access

Open mk0x9 opened this issue 5 years ago • 3 comments
trafficstars

Is it possible to configure read only access?

mk0x9 avatar Dec 27 '19 17:12 mk0x9

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

chclaus avatar Dec 28 '19 12:12 chclaus

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

mk0x9 avatar Jan 09 '20 22:01 mk0x9

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.)

pataquets avatar Oct 20 '23 10:10 pataquets