The file server configuration is correct and does not allow access to other folders. I tested it as part of the OWIN self-study project, and it works as expected, with only access to the shared folder. I assume that you are using IIS to host your OWIN application (so your application is not self-service). If so, the IIS Static File Handler allows you to use stylish files and directories (and your content folder). Thus, you can search how to disable access to static files in IIS (can be done in web.config) or how to restrict access to some of them.
You can remove the StaticFile Handler from the website configuration, but you must do this carefully, because from now on IIS will not serve static files at all.
<configuration> <system.webServer> <handlers> <remove name="StaticFile" /> </handlers> </system.webServer> </configuration>
source share