Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 3rd Jan 2011, 06:22 PM   #1
HyperActive Warrior
War Room Member
 
Join Date: 2010
Location: USA
Posts: 171
Thanks: 51
Thanked 15 Times in 14 Posts
Default
Loading Page Script -- Need Help Please
Share on: 
fb share twitter share gplus share more share

I have a loading page that I referenced on another page for a download link. So, when I hover over the download link, the real download URL can't be detected. When I click on the download link, the download takes place by going through the loading page, and it doesn't open a new tab or window. However, the URL shown in the address bar changes to the loading page URL. Is there a way to do this, so the loading page URL would not appear?

This is the script I am using in the loading page:

<meta http-equiv="refresh" content="2;url=http://domain.com/product.zip">
<script type="text/javascript">
url='http://domain.com/product.zip';
if(document.images) { top.location.replace(url); }
else { top.location.href=url; }
</script>

Thanks for help!
halmo is offline  
Unread 3rd Jan 2011, 08:13 PM   #2
Vince Smith
War Room Member
 
Join Date: 2009
Location: Atlanta, GA
Posts: 186
Thanks: 3
Thanked 339 Times in 30 Posts
Default
Re: Loading Page Script -- Need Help Please
Share on: 
fb share twitter share gplus share more share

Hi Halmo,

Maybe it would be best to start with what you are ultimately trying to accomplish. If you want to obfuscate the path to the zip file then the method you are using will not work. With a meta tag it is easy to get that link even if the address bar does not show the path.

Give us a bit more detail and what your end goal is and I'm sure you will get lots of great advice. If my guess is right then using a script to get the file and stream it back with a random file name will likely be best.

Thanks,

Vince
Vince Smith is offline  
Unread 3rd Jan 2011, 08:32 PM   #3
HyperActive Warrior
War Room Member
 
Join Date: 2010
Location: USA
Posts: 171
Thanks: 51
Thanked 15 Times in 14 Posts
Default
Re: Loading Page Script -- Need Help Please
Share on: 
fb share twitter share gplus share more share

Originally Posted by dotVince View Post

Hi Halmo,

Maybe it would be best to start with what you are ultimately trying to accomplish. If you want to obfuscate the path to the zip file then the method you are using will not work. With a meta tag it is easy to get that link even if the address bar does not show the path.

Give us a bit more detail and what your end goal is and I'm sure you will get lots of great advice. If my guess is right then using a script to get the file and stream it back with a random file name will likely be best.

Thanks,

Vince
Thank you, Vince, for your answer. I am not sure what your sentence means that I highlighted in red, but I won't argue it , and will give you more information as requested.

There is a download page with a download link on it to the zip file. Before I installed the loading page, the zip file downloaded from the page without opening a new tab or new window, and without changing the URL in the address bar. Right click is also disabled on the page, so nobody could right click on the download link to find out the URL. However, the download URL could easily be detected by hovering over it (because it shows in the bottom of the browser), or by looking at the source code,.

So, what I want to do is make the download such that the actual download URL could not be detected.

Thank you for helping!
halmo is offline  
Closed Thread


Bookmarks

Tags
loading, page, script


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 04:20 PM.