Forum Discussion
Block Access To All Sites Except Whitelist Configuration Google Chrome In Intune
LewisTaylor Hi,
You need to blacklist everything and then use the Whitelist setting to allow whitelisted websites.. From the Google docs it should look like this.
"*" blocks all requests; only whitelisted URLs will be allowed;
I hope that helps.
Regards,
Jörgen
- ProITadminJul 24, 2024Copper Contributor
Unfortunately, there is not much documentation on the syntax for multiple URL's or string values.
I found that this syntax works for MS Edge app configuration policies:
"https://contoso.com,microsoft.com,office.com,http://google.com,yahoo.com,edge://flagsedge://flags"
You have to use the protocol type of URL (HTTPS or HTTP or CHROME or EDGE commands) and follow each domain with a comma for that specific protocol.What I have found works on Google Chrome App config policy is to use an array instead of a string value:
{"kind": "androidenterprise#managedConfiguration","productId": "app:com.android.chrome","managedProperty": [{"key": "URLBlocklist","valueString": "*"},{"key": "URLAllowlist","valueStringArray": ["https://YOURDOMAIN.com","play.google.com","microsoftonline.com","microsoft.com","http://YOURDOMAIN.com","chrome://policy"]}]} - somesh_pathakSep 10, 2019Iron Contributor
LewisTaylorwere you able to block access to all internet sites using Intune for mobile devices? and you did it using Chrome config settings?
- LewisTaylorSep 16, 2019Copper ContributorHi Somesh Yeah I used these two commands within the client apps configuration of chrome for android. Configuration Key - Block access to a list of URLs Value Type - String Configuration Value - ["*"] Configuration Key - Allow access to a list of URLs Value Type - String Configuration Value - ["wikipedia.org", "chrome://policy", "microsoft.com"] This allowed me to block all URLs by default, then enable a whitelist of URLs with the 2nd command.
- Sanggaa_HoneywellApr 11, 2023Brass ContributorHey @somesh @lewis
Could you put the screenshot config from the Intune console as how it looks like