Hello,
I want to secure my website the most possible using htaccess.
And I believe this code covers any javascript injections and external data injection.
But it doesnt work.
I might have gotten something wrong.
Can you help me fix this please ?
I looked over the internet for similar codes,but none of them worked ... that is the reason I am posting here !
Thanks in advance !

SetEnvIfNoCase Referer "^http://subdomain.domain.com$" local
<Limit GET POST PUT DELETE>
 order deny,allow
 deny from all
 allow from local # 
</Limit>

if you mean disable hotlinking then try this

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.