Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
cloaking my url (messed up last time I asked question)
Old 07-27-2007, 02:11 AM cloaking my url (messed up last time I asked question)
Banned

Posts: 253
Name: Michel Samuel
Trades: 0
I'm using a frameset to cloak my url.
The probleme is I'm getting half a page loaded on the top.
Then same half loaded on the bottom.

I just want 1 page loaded from top to bottom and make it look like there is no frame.


This is my code

Quote:
<frameset rows="1,1">
<noframes>
<body>
</body>
</noframes>
<frame src="accub.html" frameborder="0" noresize="noresize" />
<frame src="accub.html" frameborder="0" noresize="noresize"></frameset>
One more question...
Instead of calling up a static.html file
Can it call up a PHP file ?
I have one marked index.php and that would just make my day if I could do that.

Last edited by Michel Samuel; 07-27-2007 at 02:31 AM..
Michel Samuel is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-27-2007, 08:37 AM Re: cloaking my url (messed up last time I asked question)
Experienced Talker

Latest Blog Post:
Long time no … erm post?
Posts: 45
Name: Matthew Bagley
Trades: 0
Well its been a long time since i used frames as there are a lot of reasons not to use them

But to achieve this you would set the top frame to a heigh of 0 and then load the page in the second frame.

also yes you can point it to a php file instead of html
__________________
Matthew Bagley
Paramiliar Design Studios

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Paramiliar is offline
Reply With Quote
View Public Profile
 
Old 07-28-2007, 03:07 PM Re: cloaking my url (messed up last time I asked question)
Banned

Posts: 253
Name: Michel Samuel
Trades: 0
Quote:
Originally Posted by Paramiliar View Post
Well its been a long time since i used frames as there are a lot of reasons not to use them

But to achieve this you would set the top frame to a heigh of 0 and then load the page in the second frame.

also yes you can point it to a php file instead of html

thank you...
Sometimes a fresh mind on a problem helps a lot.
Michel Samuel is offline
Reply With Quote
View Public Profile
 
Old 07-28-2007, 05:21 PM Re: cloaking my url (messed up last time I asked question)
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
If you buy a domain name at GoDaddy and host it elsewhere, they make it easy to use a frame to "redirect" to the other hosting and "cloak" the domain name.

Your frame source can be any type of document the client browser will display. PHP is fine. You can configure your server to expose PHP pages as having an html extension to the outside world if you'd like to ... but you can just point at a PHP file without having to pretend it's a static html.

This really isn't a very effective way to hide a URL, though. A person can view the page source to find the entry point through the frame. If they have web developer add-ons, they can click an element on the page and get its URL. But, it'll hinder people who aren't tech savvy.

You may want to create the page dynamically, in javascript. You could decode a string that's encoded in base 64 with the URL and build the frame around it using document.write in the page load event. That still only gives you limited protection, but it will keep people with a little bit of tech knowledge out. You're going to find a point of diminishing returns.

You should also look into a service called "ImgRed.com" ... I have an article on my site about blocking them. The more difficult you make things for your viewers, the more likely people are to use a side-linking service to host copies of your images instead of linking to pages on your site. That would be a disaster, taking any control you have on the web out of your hands, and needing a lawyer to get it back for you. While you experiment with new ideas, you should consider their implications and plan for stuff like that.

ImgRed finally built an opt-out feature, so you may want to head over there and tell them never to host images from your site. There are other services like them, though.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 07-29-2007, 03:10 AM Re: cloaking my url (messed up last time I asked question)
Banned

Posts: 253
Name: Michel Samuel
Trades: 0
Quote:
Originally Posted by ForrestCroce View Post
If you buy a domain name at GoDaddy and host it elsewhere, they make it easy to use a frame to "redirect" to the other hosting and "cloak" the domain name.

Your frame source can be any type of document the client browser will display. PHP is fine. You can configure your server to expose PHP pages as having an html extension to the outside world if you'd like to ... but you can just point at a PHP file without having to pretend it's a static html.

This really isn't a very effective way to hide a URL, though. A person can view the page source to find the entry point through the frame. If they have web developer add-ons, they can click an element on the page and get its URL. But, it'll hinder people who aren't tech savvy.

You may want to create the page dynamically, in javascript. You could decode a string that's encoded in base 64 with the URL and build the frame around it using document.write in the page load event. That still only gives you limited protection, but it will keep people with a little bit of tech knowledge out. You're going to find a point of diminishing returns.

You should also look into a service called "ImgRed.com" ... I have an article on my site about blocking them. The more difficult you make things for your viewers, the more likely people are to use a side-linking service to host copies of your images instead of linking to pages on your site. That would be a disaster, taking any control you have on the web out of your hands, and needing a lawyer to get it back for you. While you experiment with new ideas, you should consider their implications and plan for stuff like that.

ImgRed finally built an opt-out feature, so you may want to head over there and tell them never to host images from your site. There are other services like them, though.

I'm not worried about the advanced user.
Just the masses.

On that note one of the biggest things I have read on the net has been...
You can't stop this or you someone will figure away around that...

Given that line of thought...
Villians can still find ways into buildings with locked doors.
Just because they can do that.. it doesn't mean I should stop locking my door.
Michel Samuel is offline
Reply With Quote
View Public Profile
 
Old 07-29-2007, 04:26 AM Re: cloaking my url (messed up last time I asked question)
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
No; it means you should balance the risk versus the stress until you find the point you can live with. You can block ImgRed pretty easily; if you have cPanel, you can turn off "hotlinking" with one click. There will be others that get by, but if you want to lock your doors, I'd recommend that one in particular, and making a plan for how to deal with people downloading your photos and hosting them themselves. Digimarc will do the trick, but it's expensive.

If you encode the URL in hex, or %32 like codes, or in base 64, and use document.write, you'll block intermediate but not advanced users. It will also take about five minutes of work on your end to encode your URL in whichever manner you choose. That might be the best compromise; have javascript build the frameset and decode the URL on the client side. Viewing the page source will show a bunch of random looking text chars. It would take some familiarity with javascript to grab the right pieces and make sense of them.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Reply     « Reply to cloaking my url (messed up last time I asked question)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26116 seconds with 12 queries