PyWebDAV3 icon indicating copy to clipboard operation
PyWebDAV3 copied to clipboard

wishlist: read-only

Open chrysn opened this issue 9 years ago • 0 comments

it seems that there is currently no easy way to run pywebdav3 read-only (short of running it as a user w/o write permissions, which on linux afaict requires root privileges). please consider adding a read-only switch to the default server.

implementation-wise, i'd suggest splitting the FilesystemHandler class into a FilesystemReadHandler and a FilesystemRWHandler (apart from the last two methods, the code already looks like it's split accordingly); this would ease auditing compared to a flag set to the FilesystemHandler.

chrysn avatar Aug 29 '16 07:08 chrysn