LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 10-30-2008, 09:39 PM   #1
usagichan
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
Is it possible to block third party sites from server?


I have bought a premium membership from MegaVideo.com. Until recently this has worked ok. I have been using their embeded player in my pages and also adding a link to the Megavideo page where the video is located. However recently if I click on the embeded player to start it, Megavideo is popping up a page to AdultFriendFinder. My site is rated child-safe and this compromises the child-safe status of my site. Beyond that I paid $200 for a premium membership and I'm livid that they would later decide to force tasteless advertising on me that compromises my site after I've paid them for a premium membership.

I have emailed them about this but in the past they have ignored nearly all email I send to their support. I also have researched and found that, though the servers are located in the US, the register of Megavideo is located in Hong Kong so suing is simply not possible. Perhaps I can sue the servers.

The easier solution and more secure is to block 3rd party ads, if that is possible. I have a dedicated server so I have total root access. Is there some way that I can block these ads from my server? Some way that I can be sure that Megavideo or other disreputable sites cannot slip sexual advertisement on my site.

Thanks
Usagi
 
Old 10-30-2008, 10:33 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Sure - it's easy to block IP addresses and ports with your firewall. And you should *definitely* block all ports you're not *explicitly* using - just as a standard "best practice".

But the problem is that these guys are probably coming in on your standard game port (or worse, on HTTP), and probably don't have a consistent IP address or domain name.

Here's a good, simple answer to try first:
http://www.linuxsecurityforum.org/f9...ssing-t72.html

Although primarily a client-side solution, you might also want to consider .pac files (Proxy Auto-Configuration files):

http://www.windowsdevcenter.com/pub/.../30/hosts.html
 
Old 10-30-2008, 10:56 PM   #3
usagichan
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Paulsm4, I think you're misunderstanding. A have a site that's on a server. I have root access on my server. In the site that's on that server I have programmed in the embeded player that MegaVideo says I can use. Hence, when people come to my site they can see video that is actually hosted on MegaVideo.com by clicking on the player. The problem is that recently Megavideo is now sending a sexual page along with the player's video. So when a person goes to my site, and click on the player, they are "treated" to a sexually oriented ad for AdultFriendFinder before they get to see the video. On a Child-safe site such as mine, this is totally intolerable.

For the moment I have replaced the player with this: "MegaVideo is now forcing porn ads on those who use the embeded player. Hence, as a Child-Safe site, we have been forced to remove that feature. Please email support@MegaUpload.com to express your outrage with them about this."

Hopefully enough people will complain so that Megavideo will quit this disgusting practice.

As far as I know, there is no way I can block the AdultFriendFinder ad. I doubt there is a way but I thought I'd ask here to be sure.

Usagi
 
Old 10-30-2008, 11:08 PM   #4
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,095
Blog Entries: 2

Rep: Reputation: 111Reputation: 111
I don't think this is a matter of blocking them on your server. When someone views your website they probably get a direct link to the 3rd party ad and it doesn't involve your server at all. Since its an embedded player from Megavideo I'm not sure you can do anything about it for people coming to your site. If it's something in the html you have that embeds the player you can modify it to not pop up the page, but I'd bet its actually in the player.

(Just ignore this, guess I should have refreshed before responding).

Last edited by estabroo; 10-30-2008 at 11:09 PM. Reason: obsolete
 
Old 10-31-2008, 12:32 AM   #5
usagichan
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I really doubt I can do anything other than removing the player, which, as I mentioned above, I have. It was working and I made no changes to the player and the ads have suddenly appeared so they have to be coming from changes on MegaVideo in how they handle requests to the player. I have complained to all involved which is MegaVideo, their hosting company and AdultFriendFinder.
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid to block all the sites except 1 or 2 sites winxandlinx Linux - Networking 8 10-27-2010 03:53 AM
Problem with third party sites loading jschiwal LQ Suggestions & Feedback 3 06-12-2008 03:56 PM
how to block sites 4ajaysingh Linux - Networking 1 01-23-2007 10:01 AM
block some sites nkutty Linux - Security 1 10-03-2005 05:15 AM
How to BLOCK SLEEZE SITES? saugato Linux - Security 3 02-11-2005 09:39 PM


All times are GMT -5. The time now is 08:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration