How to hide the iframe link (not the iframe)

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
rmjr
Forum Newbie
Posts: 1
Joined: Wed Feb 20, 2013 11:11 pm

How to hide the iframe link (not the iframe)

Post by rmjr »

I need to make the iframe link not recognizable. I offer this as a subscription site and I can't have the real link visible.

<tr>
<td height="100%">
<iframe src="ebindx.html" frameborder="0" width="100%" height="100%"></iframe>
</td>
</tr>

I do not program, but I can make sure things are put in the right place.
gerit99
Forum Newbie
Posts: 6
Joined: Mon Mar 04, 2013 10:19 am

Re: How to hide the iframe link (not the iframe)

Post by gerit99 »

As far as I know, it's impossible. (Which could work, is running 45 times SetTimeout("TheFunctionIAmCurrentlyIn()",100) in JavaScript.(Js can be turned off, so what?))
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: How to hide the iframe link (not the iframe)

Post by pickle »

So you want to hide ebindx.html so someone can't find it? Impossible. Actually, technically impossible. In order for the browser to display the page, you need to set that src attribute. Even if you do it via Javascript, someone can just "View generated source" (which I think is functionality provided by the WebDeveloper plugin in Firefox) to see the source after Javascript changes it. I'm sure there are other ways to find the URL as well.

The only way you can be safe is to make the page you're embedding require some sort of login.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
annaharris
Forum Commoner
Posts: 30
Joined: Mon Mar 25, 2013 6:52 am

Re: How to hide the iframe link (not the iframe)

Post by annaharris »

gerit99 wrote:As far as I know, it's impossible. (Which could work, is running 45 times SetTimeout("TheFunctionIAmCurrentlyIn()",100) in JavaScript.(Js can be turned off, so what?))
I am agree with " gerit99" and "pickle". You can block it in robots.txt. You can't hide the iframe itself.
Post Reply