Avatar of blaze2342
 asked on

Webdav locks not being respected by native NTFS

We have a webdav folder setup for remote access.  It is secured with SSL and the require lock for writing is set to true.  We  have local users that access the same files via SMB shares.  When a local user opens a file on the share and a webdav user attempts to open the same file they get a warning.  When doing the reverse (Webdav user opens first) the local user does not get a lock warning.  Our current workaround is to have all users map the drive using webdav but this is not a desirable solution.  Am i missing something?

Server 2008 R2
IIS 7.5
Local users mapping with net use p: \\server\share *
Webdav users mapping with net use p: https://server.com/share *
Microsoft IIS Web ServerWindows Server 2008

Avatar of undefined
Last Comment
Seth Simmons

8/22/2022 - Mon
Emmanuel Adebayo

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

I want it to lock.  The problem is if someone gets to those files using a different protocol like SMB or FTP they can overwrite the file while its technically locked by the webdav client.
Emmanuel Adebayo

If the file is locked by WebDAV client, it will not be able to be overwritten by any protocol, they will receive a message that the files are in use and cannot be overwritten.

Excel on left was opened locally after opening excel on right remotely.  No warning when opening locally.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Emmanuel Adebayo

You will still be able to open but not write to it, if you write to it, and when you press save, it will give a message that the file is lock.
Seth Simmons

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.