Is it possible to allow scripts loaded from a domain only if in web sites loaded from that domain. But forbid the same scripts if loaded from another site?
Example:
Allow scripts from google.com if used by a html page served by google.com, but do not allow scripts from google.com if the using html page is loaded from (for example) facebook.com?
Another example:
Allow scripts from facebook only if browing a facebook site, but disallow it if used by other sites for "Like It" buttons.
Allow script from a domain only when visiting that domain.
-
holger
Allow script from a domain only when visiting that domain.
Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0
- Giorgio Maone
- Site Admin
- Posts: 9557
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Allow script from a domain only when visiting that domai
Yes.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0