How to securely link to a Windows file share from a website


For good reason all major browsers have blocked the ability to link from an https site to file://servername/folder. However, I need to find a way to be able to link to Windows file shares from a company intranet portal site.

I've been looking around but haven't found a good way to do this. Can anybody think of a secure way to do this?

Best Answer

I think you have at least two options. You could:

  1. Change the way the files are shared to something natively supported by browsers. E.g move them into a file sharing tool such as Box, or on to an FTP server (linked via SFTP or FTPS for security) or Web server (use integrated auth for access and HTTPS for security).

  2. Find out if there is a security setting in the major browser/s used by your company that is blocking these links that could be disabled. You can potentially then have this disabled company-wide via a Group Policy. Alternatively for IE specifically, having the intranet site added into the "Trusted sites" list in IE should reduce the security restrictions and may make this then possible.

Related Topic