Hidden pdf dowload URL?

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
User avatar
Joseph Lee
 
 
Posts: 21
Joined: Tue Sep 13, 2016 5:01 am

Hidden pdf dowload URL?

Post 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.
User avatar
crispy68
 
 
Posts: 2749
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Hidden pdf dowload URL?

Post 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
User avatar
BaconFries
 
 
Posts: 5364
Joined: Thu Aug 16, 2007 7:32 pm

Re: Hidden pdf dowload URL?

Post 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/
User avatar
Joseph Lee
 
 
Posts: 21
Joined: Tue Sep 13, 2016 5:01 am

Re: Hidden pdf dowload URL?

Post by Joseph Lee »

Thank you both for the ideas....will work on it this weekend. :D
Post Reply