Forum Discussion
Block page with referrer
hi all,
i have a problem that some sites stealing a content one of the iframes and posting it on their sites. so i want to block requests that are originated from any sites that are not mine on LTM v10.2 that i have.
i compared the requests and the only thing that different is referer header.
so what i need is that any access to specific URL (/Media.asp) will be allowed only with my hostname (http://example.com)) in the refer or no referer at all.
any suggestions?
thanks max
3 Replies
yes, write an irule that only allows requests with no referer header of the ones you allow.
here are some links to get you started
https://devcentral.f5.com/articles/referral-tracking-with-irules https://devcentral.f5.com/articles/irule-security-101-06-http-referer https://devcentral.f5.com/questions/restrict-access-via-http-referer
- Max_175689
Nimbostratus
thanks boneyard,
it really helped.
- you are welcome, if it answered your question please mark it as such.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
