nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Break Out of Frame and block hotlinking

This is a discussion on Break Out of Frame and block hotlinking within the Web servers forums, part of the Mastering Servers category; I have a question: what to do if i want to block a URL from my Apache web server.. Suppose ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-30-2009, 02:57 PM
kasimani's Avatar
Senior Member
User
 
Join Date: Jul 2006
Location: India, Delhi
OS: CentOS, RedHat, Fedora, Ubuntu
Posts: 147
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 4
kasimani is on a distinguished road
Send a message via Yahoo to kasimani
Default Break Out of Frame and block hotlinking

I have a question:

what to do if i want to block a URL from my Apache web server..

Suppose i a Html page....

http://domain.com/showdata.html

and showdata.html is internally using a page Using Iframe...
like this
<iframe name=scorecardMatch src="1234567.html" scrolling="no" width="667px" height="2000px" frameborder="0"></iframe>


i want to block the 1234567.html from HotLinking... by Outsiders....


Regards
manish
Reply With Quote
  #2 (permalink)  
Old 10-30-2009, 06:10 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Posts: 2,450
Thanks: 11
Thanked 189 Times in 139 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to break out of frame based hot-linking using javascript. This need to be done with your php pages / html files. See the following links:
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply

Tags
frames , hotlinking , html , javascript break out , spam


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Howto: PHP Block phpinfo() function asim.mcp Web servers 4 10-26-2009 12:05 AM
hackin block thesnaggle Networking, Firewalls and Security 0 03-02-2009 01:06 AM
How to block ultrasurf mail.mohanasundaram Networking, Firewalls and Security 0 08-16-2008 01:15 PM
How to Block Ultrasurf laluvirtual Linux software 9 06-15-2008 05:21 PM
Frame-Buffer vs X11 Graphics screen tom Linux software 1 06-14-2005 08:31 PM


All times are GMT +5.5. The time now is 05:27 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38