Follow hyperlink to file without dialogue

Hi,

I would like to disable the dialogue that pops up when one clicks on a hyperlink (in my case it links to a local file). That is, when clicking on the hyperlink I want to directly open the file without having always to confirm that I’m okay with this.

Is this possible? I didn’t find any security setting allowing this.