Link

J

Jennie

I have a link to a file on my harddrive on the web page. How can I hide the
link?

Thanks
 
M

Michael Winter

I have a link to a file on my harddrive on the web page. How can I hide
the link?

Comment it out with <!-- SGML comment --> delimiters, or delete it.

There's no security risk; only the fact that it's useless to anyone but
you means you should remove it, so either solution is good.

Mike
 
D

Dr John Stockton

JRS: In article <[email protected]>, seen
in Michael Winter <[email protected].
invalid> posted at Thu, 22 Jan 2004 17:11:12 :-
Comment it out with <!-- SGML comment --> delimiters, or delete it.

There's no security risk; only the fact that it's useless to anyone but
you means you should remove it, so either solution is good.

If aesthetics demand its absence on the Web, but ergonomics demand its
presence at home using the *same file*, it could be written by javascript
in an include file, or dependent on an include file. For one particular
include file name, say whereami.js, the file on the Web server would
differ from the file on the local machine.

Web :
function That() {}

Home:
function That() {
document.write('<a href="file:\/\/\/c:\/page\/$1.htm">$1.htm<\/a>') }

Personally, I let the local ones show, but make the link test
inconspicuous.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top