Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wishlist: read-only #8

Open
chrysn opened this issue Aug 29, 2016 · 0 comments
Open

wishlist: read-only #8

chrysn opened this issue Aug 29, 2016 · 0 comments

Comments

@chrysn
Copy link
Contributor

chrysn commented Aug 29, 2016

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.

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

No branches or pull requests

1 participant