Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
blocking url with mod_security
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tomukaz
n00b
n00b


Joined: 06 Dec 2006
Posts: 8

PostPosted: Sat Jun 23, 2007 4:05 pm    Post subject: blocking url with mod_security Reply with quote

Hi,

is there a way to block an referring url to site. The reffering url reffers via frameset:
evil-domain.com from some hosting site > my-site.com

<frameset>
<frame src="http://www.my-site.com">
</frameset>
</html>
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sat Jun 23, 2007 4:16 pm    Post subject: Reply with quote

e.g. http://mediakey.dk/~cc/block-referer-spam/
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
tomukaz
n00b
n00b


Joined: 06 Dec 2006
Posts: 8

PostPosted: Sat Jun 23, 2007 8:50 pm    Post subject: Reply with quote

I tried something like this earlyer
Code:
SecFilterSelective "HTTP_REFERER" "(evil-domain|hosting-domain|)" "deny,nolog,status:403"

but it has no effect.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum