View previous topic :: View next topic |
Author |
Message |
tomukaz n00b
Joined: 06 Dec 2006 Posts: 8
|
Posted: Sat Jun 23, 2007 4:05 pm Post subject: blocking url with mod_security |
|
|
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 |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sat Jun 23, 2007 4:16 pm Post subject: |
|
|
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 |
|
|
tomukaz n00b
Joined: 06 Dec 2006 Posts: 8
|
Posted: Sat Jun 23, 2007 8:50 pm Post subject: |
|
|
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 |
|
|
|