micromata / dave

A totally simple and very easy to configure stand alone webdav server
Apache License 2.0
350 stars 46 forks source link

Deny/blacklist of files and directories to prevent OS to fill share with garbage #55

Open dxlr8r opened 1 year ago

dxlr8r commented 1 year ago

Complete with automatic configuration reloading etc.

mischah commented 1 year ago

Thanks for your contribution :octocat: ❤️

I’m going to add @samhocevar and @chclaus as reviewer to potentially merge this.

P.S. This will close #54

dxlr8r commented 1 year ago

I've been thinking, I think I want to replace "write" with "create". What we want to restrict is creating of directories and files. Right now, the code disallows truncation and modification/alteration of existing files as well (given it matches).

When I get the time, I'll look into it.

dxlr8r commented 1 year ago

When I get the time, I'll look into it.

Done, see new commit

dxlr8r commented 1 year ago

Are the reviewers alive?

chclaus commented 1 year ago

Hej @dxlr8r,

thanks for the PR. @samhocevar could you review it? Otherwise I'll try my best next week. ;)

chclaus commented 1 year ago

Hej,

the week is gone. Sorry for the missing merge. I'm on vacatio. without any hardware.

I promise: I'll take care of it next week. 😉