How can I hide a page or redirect a user to another page, if they access a page on my site that I don't want them to? I have a site that iframe a portion of a site/video of a security panel from another site's admin panel. The problem is that a viewer can easily look at my source code, find the site that I iframed and enter my security panel, where they can control stuff there. How can I make it so that when a viewer enters that site they find in the source code they will end up on a blank page? Instead of the admin panel that I partially iframed? Is there some some of php code or html or css hack that I can use?
Yeah, but it will also block the iframe? I need it so that the iframe can access it but no people going directly to the link the iframe provides.
A better method would be to use PHP to 'crawl' the Admin link, as PHP can easily login to an admin page, it can then match the parts of the page needed, and return it - Without showing your password. All in all, a much better method. And before you ask 'How?' - Go lookup 'Client URL' (cURL). It's very easy to use! Dan