Opening an editable Local link in a page - Mendix Forum

Opening an editable Local link in a page

0

Hello,

I have an issue, probably more related to browser security than Mendix, but anyway, a solution would be much appreciated.

In a page we have a button which on click open a file (On click/Open Link, type: Web) which address refers to an attribute editable on a page.
But the link must refer to a local file (on client computer) and it generates an exception either using:
file:///MyPath
or 
file://localhost/MyPath

Seems that that the readable link is transform to MyPath. In the browser the link generates an error, doesn’t acess the file

 

asked
1 answers
2

Accessing local files from the browser is in general a bad idea, this poses significant security risks.

There are some options when you google on this and these seem to be browser dependent.

My advise would be to implement the functionality differently so there is no need to access local files.

answered