File sharing is the public or private sharing of data or space in a network with various levels of access privilege. Before you complete the steps contained in this article, verify that Microsoft Internet Information Server (IIS) and Microsoft SQL Server are installed and properly configured. These steps show you how to configure Microsoft Internet Information Service (IIS) with WebDAV so that Cloud Server can share files over the Internet.
To configure file sharing over the Internet:
- Start the Server Manager:
- Navigate to Roles, scroll down to Web Server (IIS) (expand the section if necessary) and click Add Role Services:
- Under Web Server:
- Find Common HTTP Features and then select WebDAV Publishing:
- Under Security, select Windows Authentication.
While we strongly recommend you enable Windows Authentication, it is not required. You can enable additional authentication methods of your own choosing. Depending on your configuration, Window Authentication may already be installed.
- To complete the set up of WebDAV Publishing, click Next and Install.
- In Server Manager, go to Roles > Web Server (IIS) > Internet Information Server (IIS) Manager.
- In IIS Manager, expand your Server Name > Sites.
- Select the Default Web Site.
- Under Actions, click Stop:
- Right-click on Sites and select Add New Site:
- Name the new site, for example WebDAV, and then select the path you want to share:
- To create the new site, click OK.
- To dismiss the warning about duplicate binding for *:80, click Yes:
- Select the site name. This example uses WebDAV.
- In the Feature View under IIS, find and open Authentication:
- Disable the authentication methods you do not want to use, including Anonymous Authentication:
- Go to the Feature View under IIS and start WebDAV Authoring Rules:
- Under Actions, click Add Authoring Rule.
- On the Add Authoring Rule screen, select the options for All Content, All Users, as well as Read, Source, and Write:
- To create the rule, click OK. WebDAV is now configured to run with Cloud Server.
To create more shared folders:
- Under IIS Manager, right-click on your site. For example, WebDAV.
- Select Add Virtual Directory:
- Enter values for Alias and Physical Path. For example:
- To create the virtual directory, click OK. Use DFS to access this directory. For example:
\\[Server IP]\User Files