Hacker News new | past | comments | ask | show | jobs | submit login

sabre/dav is amazing

I worked on a company that had multiple issues with mounted folders using smb across a wide variety of desktop clients (that was around 2012).

Customers would name their files with weird characters, would use OS X folder colors and expect them to stick, etc. We needed to support all of that.

One day we tested replacing smb with webdav mounts powered by a thin layer based off sabre/dav. It just worked out of the box. All of our issues were gone. It's client support is the best I've seen.

It also allowed us to create virtual files, setup caching and a lot of other goodies that seemed impossible with smb.




How did you handle authentication, permissions and security?


Authentication was HTTP digest.

I don't remember exactly how we implemented permissions, but I remember that at some point (after extending sabre/dav pretty hard) we did all kinds of customer configuration (including ACL) based on virtual files. Admin would just change a virtual file with roles and we would receive it on our implementation as a method call.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: