Hi everyone,
I have problem with the internet rules. Right now the default rule is everyone have no access to internet, only the whitelisted website (URL) are allowed.
The problem is, many many website include the css, js ... in CDN or another hosting, so the whitelisted page can access but can not load the CDN scripts. Is there any solution on this.
I am new with MWG, sorry if the issued already raised in somewhere else.
Hello @Former Member,
It is possible using "Referer" Header. There were also many users who blocked by category and allowed specific URLs and wondered why only half the website is shown, as 10 different URLs are requested in background to get further data.
If you access youtube.com and youtube triggers another automatic request in background to load a video from www.gogolevideo.com, then this request contains a header called "Referer" which contains the value "https://www.youtube.com/" so that it knows, where it comes from.
So you can make a rule like this:
And it works/looks like this and the rule matches:
IMPORTANT: This only works for HTTPS sites when SSL Scanner is enabled and was triggered as the Referer header is a HTTP header which is encrypted in HTTPS. So SSL Scanner is required to break SSL traffic so that MWG can actually see this header to read out its value.
Please note that it is possible to fake Referer headers and it is also possible that embedded objects are loaded via Javascript/Ajax, so no referrer header is present.
The nature of HTTP is that it is stateless, so there is not really a reference between the different requests, so apart from additional whitelisting there is no automatic way to allow all embedded objects of a web site.
Corporate Headquarters
6220 America Center Drive
San Jose, CA 95002 USA