Make a web site link unviewable

We want to hide the web path of downloadable files.  In other words, when visitor hovers on the downloadable link, we want the path not be viewable (usually when you hovers over a kink you see the entire path).  Is there a way to do this?
rayluvsAsked:
Who is Participating?
 
Chris Raisin(Retired Analyst/Programmer)Commented:
Well, after further investigation in various places on the Net, I have found that the HTML Standards have been altered so that all Browsers now
no longer support the "Window.Status" setting.

The code I supplied earlier USED to work, but is now no longer functional.

This was bought in to prevent security breaches by site programmers (where they could display a link to a "supposed" site, but in effect take
the user to another site when the link is clicked. (For example, redirecting to a porn site).

In an attempt to help prevent the user from falling prey to this deception, the functionality was removed so that now ALL links must display their destination in a pop-up message close to the status bar.

There is no way around this I am afraid (and when you think about it, that is the way it should be).

My question is, why would you want to hide this link? There are security means available on the server which holds those files to prevent
users from doing anything other than downloading (e.g. not able to access the folder holding the files by typing in the path into a browser directly) . My suggestion is that you approach your provider to put in place security measures to prevent users from doing anything except downloading for files in the folder in question.

Sorry about the bad news. I tried many ways juggling code to see if there was a work-around, but the security now in place prevents any work-around.

I hope I have been of help.
0
 
Chris Raisin(Retired Analyst/Programmer)Commented:
There are several possibilities.

You could try something like this in your HTML code (example only....substitute your link address in place of the YouTube address).
It may depend on what system you are writing the HTML code and on how the HTML is rendered.

<a href="www.youtube.com" onMouseOver="window.status=' '; return true;">You Tube Link</a>

Open in new window


Another way (if you have access to cPanel control on your website authoring program) is to use cPanel and
incorporate it's "Redirect" functionality.

Yet another way is to use the free functionality provided by "TinyURL.com" (go to their website to obtain details).

A final way is to use  a "Meta Refresh" as follows.

In the Header section of your HTML code on the page in question use something along these lines:
 META HTTP-EQUIV="Refresh" CONTENT="1;  URL=HTTP://www.Youtube.com">

Open in new window


By the way, please ignore the line numbers at the start of each of these code examples (i.e. "1:" starting at start of the lines).

I hope this helps.
1
 
rayluvsAuthor Commented:
Hi!  Sorry for the delay.  Tried it but still can see it.  Can you provide a small html with a link so I can see it?

Thank you in advance!
0
 
rayluvsAuthor Commented:
Thank you very much!  We have been searching also to no avail!

Again Thanx!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.