Sharepoint WebDAV over HTTPS

Daniel M 126 Reputation points
2020-11-05T15:07:58.017+00:00

Hi,

I am wondering if there is a way to force the webdav traffic to go over HTTPS?
The problem right now is that users can access our sharepoint sites and document libraries over HTTP even though we have nothing that listens on port 80.

There is no alternate access mapping that listens on http.
No bindings in IIS listen on port 80.

Through the web browser, everything works of course. You have to type https://portal but through the file explorer you can just type \portal\site and when you open a document, if you go the file tab you can see that the document resides in http://portal/xxxxxx

We have a load balancer that rewrites http to https but webdav goes under the radar here.

Anybody know how to deal with webdav using port 80?
Users love using webdav so we are hesistant to completely removing this option...

/Daniel

Microsoft 365 and Office | SharePoint Server | For business
{count} votes

2 answers

Sort by: Most helpful
  1. sco gordo 301 Reputation points
    2020-11-05T17:21:16.477+00:00

    I may be wrong, but believe webdav requests are routed through IIS? If so, maybe set a URL Rewrite, redirecting http://... to https://...?

    0 comments No comments

  2. Elsie Lu_MSFT 9,801 Reputation points
    2020-11-06T08:25:20.4+00:00

    Hi @Daniel M ,

    Per my test, when using WebDav to connect to a site via HTTPS, the link is usually displayed as @rithansodo like the first screenshot, and if it is connected via HTTP, it will be like the second one. Would you like to provide a screenshot about “if you go the file tab you can see that the document resides in http://portal/xxxxxx” to check your URL?
    37937-microsoftteams-image.png
    38013-microsoftteams-image-1.png


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.