illegally pointing a domain to a Sub? Possible?

3 replies
  • WEB DESIGN
  • |
Hey everyone,

I want to know if it is possible for someone to point a domain to my subdomains or my folders without me knowing? Is there a way to prevent this? Or allow it if I want to?

Say I have xyz.com and I setup a sub on it called 123.xyz.com or even just a folder named 123 (xyz.com/123/) Can Bob in Canada point his domain (abc.com) to make xyz.com/123/ APPEAR to be his. Can I find out?

bit Lets say I dont want bob to be able to do this, But I want Charlie in Asia to be able to point 123.com to xyz.com/123/ but when people are looking at the page the address bar still says 123.com

the skinny: I dont want anybodys domain to point to mine unless I SAY it ok... How do I do this?

I know this sounds off the wall but I hope since everyone here knows HTML and sorts, you can follow. If not ask away and I;ll try to clear my question up!
#domain #illegally #pointing
  • Profile picture of the author RobinInTexas
    The only thing they can do is use an iframe, and there's not much you can do about that.
    Signature

    Robin



    ...Even if you're on the right track, you'll get run over if you just set there.
    {{ DiscussionBoard.errors[8997487].message }}
  • Profile picture of the author KirkMcD
    Since you want the address bar to remain with the original domain, there are ways to prevent others from displaying the page, but it's not simple.
    If you build the framed page dynamically, you can put some kind of authentication in it, for example.
    Or you can load the page dynamically from the calling site and then display it.
    {{ DiscussionBoard.errors[8997607].message }}
  • Profile picture of the author MonopolyOnline
    Try the javascript FrameBreakout()

    Place this into any of your javascript files:

    function FrameBreakout() {
    if (top.location != location) {
    top.location.href = document.location.href ;
    }
    }

    Now add this to your html body

    <body onload="FrameBreakout(); ">


    When your page loads if the page is within an iframe, it will break out and load on top.


    To Your Success!!! Mark
    {{ DiscussionBoard.errors[9004902].message }}

Trending Topics