Link to external files #1369

Closed
opened 2026-02-05 00:43:03 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @tklapettek on GitHub (Sep 17, 2019).

I wanna create a link to a file like "file://///server/path/filename.ext". This file should be open in a new Tab or windows. In the moment I get only an empty page.
It's because we have a lot of documents where we want to link from a page

Upload file is not an option because I have to download it before open and we have "living" documents which are always edited.

Thx

Tom

Originally created by @tklapettek on GitHub (Sep 17, 2019). I wanna create a link to a file like "file://///server/path/filename.ext". This file should be open in a new Tab or windows. In the moment I get only an empty page. It's because we have a lot of documents where we want to link from a page Upload file is not an option because I have to download it before open and we have "living" documents which are always edited. Thx Tom
Author
Owner

@ssddanbrown commented on GitHub (Sep 17, 2019):

Hi @tklapettek,

Are such links able to function when used anywhere else on the web? It's just that I think this could be a general web browser security feature that stops such links from working.

@ssddanbrown commented on GitHub (Sep 17, 2019): Hi @tklapettek, Are such links able to function when used anywhere else on the web? It's just that I think this could be a general web browser security feature that stops such links from working.
Author
Owner

@FreeTheTech101 commented on GitHub (Sep 17, 2019):

Assuming that these documents are on some sort of SMB share, you could create a new virtual host that acts as a transparent proxy to the SMB share.

Example:
//server/path/filename.ext => https://documents.example.com/path/filename.ext

Just ensure to disable directory listing, or else people will be able to navigate the SMB share directly though their web browser, and possibly download files they should not have access to!

@FreeTheTech101 commented on GitHub (Sep 17, 2019): Assuming that these documents are on some sort of SMB share, you could create a new virtual host that acts as a transparent proxy to the SMB share. Example: //server/path/filename.ext => https://documents.example.com/path/filename.ext Just ensure to disable directory listing, or else people will be able to navigate the SMB share directly though their web browser, and possibly download files they should not have access to!
Author
Owner

@derklompi commented on GitHub (Nov 19, 2019):

FileLinks are disabled in browsers like Firefox and Chrome nowadays, only IE still supports it without altering the settings or using Addons.

@derklompi commented on GitHub (Nov 19, 2019): FileLinks are disabled in browsers like Firefox and Chrome nowadays, only IE still supports it without altering the settings or using Addons.
Author
Owner

@ssddanbrown commented on GitHub (Apr 8, 2020):

I'm going to close this off as it does not seem possible, or secure, to support in the platform.

@ssddanbrown commented on GitHub (Apr 8, 2020): I'm going to close this off as it does not seem possible, or secure, to support in the platform.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1369