Page 1 of 1
Hidden pdf dowload URL?
Posted: Fri Nov 19, 2021 11:19 pm
by Joseph Lee
Hello,
Is it possible to create a download link on a graphic to a PDF on a remote server, without giving away it's URL?
In other words, hide the URL of the server the PDF is on, when it's being download.
Re: Hidden pdf dowload URL?
Posted: Sat Nov 20, 2021 12:07 am
by crispy68
You could probably remove the hand pointer that appears over a link so it wouldn't appear there is a link present.
To hide the link I don't think you can use normal html. You need to use a server side code. See this:
https://stackoverflow.com/questions/31 ... s-in-html
Re: Hidden pdf dowload URL?
Posted: Sat Nov 20, 2021 4:06 pm
by BaconFries
See the following url it uses jQuery to download the file which if the script was use as a external file rather than added to the HTML would hide the path to the pdf or any file used.
https://www.geeksforgeeks.org/how-to-do ... pt-jquery/
Re: Hidden pdf dowload URL?
Posted: Sat Nov 20, 2021 8:00 pm
by Joseph Lee
Thank you both for the ideas....will work on it this weekend.