Webdav locks not being respected by native NTFS

blaze2342
blaze2342 used Ask the Experts™
on
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 *
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Global Windows Infrastructure Engineer - Consultant
Top Expert 2013
Commented:
This is set by default to prevent lost updates due to overwrites.
You can set this to unlock in WebDAV settings in IIS Manager.

http://www.iis.net/learn/publish/using-webdav/how-to-use-webdav-locks

Regards

Author

Commented:
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 AdebayoGlobal Windows Infrastructure Engineer - Consultant
Top Expert 2013

Commented:
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.
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Author

Commented:
Capture.JPG
Excel on left was opened locally after opening excel on right remotely.  No warning when opening locally.
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - Consultant
Top Expert 2013

Commented:
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 SimmonsSr. Systems Administrator

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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial