Web filter settings not working

We have several lockdown profiles on our Android tablets, which limit users to only accessing certain websites. However, if they click a link in one of these sites, it will allow them access to the linked page.

I have tried using the Web Filter options to only allow the preset websites (see below screenshot- websites blanked out), but the links onto other domains still work. I've also looked at using Soti Surf as a browser but can't see how to configure it on the cloud hosted server.

Can anyone advise on what I'm doing wrong? We need this sorted ASAP as they're being deployed next week.

3 years ago
Android
ANSWERS
RS
Rafael Schäfer
3 years ago

Not sure if it makes a difference but did you try to provide chrome via app policy and use the inbuild management settings to do that?

Maybe this works better than set those settings via Soti, just an idea for you to test and get further maybe.

SR
Simon Robinson
3 years ago

Rafael - I am trying to configure Chrome as a managed app, however on the "managed app config" screen, when I try to enable it I get this message:

When I click the Import button, nothing happens.

RS
Rafael Schäfer
3 years ago

Interesting, never have seen this message before.

Maybe you should choose "Cancel" instead but you should be able to set managed app config for chrome.

Otherwise it's worth to contact Soti to take a look into with them together.

SR
Simon Robinson
3 years ago

If I click Cancel, it takes me back to the previous screen with no further options.

RS
Rafael Schäfer
3 years ago

Sounds not like it should be.

You should get in contact with Soti.

RC
Raymond Chan Diamond Contributor
3 years ago

What are the version of your Chrome browser?

What about the version and build numbers of your device agent?

There have been many posts reporting issues related to web-filtering policy for quite some time.  The problem seems to be related to deprecated whitelist/blacklist policies in Google's Chrome implementation.   Your problem may be fixed with a proper Chrome browser and device agent upgrade, but beware any such change may incur other problem(s)  or side-effects.  So, test thoroughly on  one or two devices before considering mass-scale deployment to your whole fleet of production devices. 

SR
Simon Robinson
3 years ago

Raymond - agent is version 15.2.3 build 1001, and Chrome is 105.0.5195.79 so as far as I can see, they are up to date and this should not be causing the issue mentioned.

RC
Raymond Chan Diamond Contributor
3 years ago

Have a look at the following article:

     https://discussions.soti.net/articles/web-filter-not-working-for-blacklist-whitelist-with-google-chrome

RC
Raymond Chan Diamond Contributor
3 years ago

Then your problem may be related to how you configure the policy. 

From your screenshot, you are trying to configure like in many conventional firewall, blocking everything and then allowing some exceptions.  But this may not be the proper way here.

Firstly, the software (parser in the Chrome browser, device agent,  server, etc.)  may not take wildcard character like * or ?.    Secondly, the design of the API may not allow you to mix blacklist(s) and whitelist(s), and there may be no need to specify allow/block all at the very beginning.  Finally, the syntax of each individual item may also be significant, and it may be documented in some Google's Chrome manual (I had one released many years ago).  Without the latest documentation from Google, it still may not be too hard to figure out by trial-and-error in 15 minutes or so.

I haven't  done any test on the latest Chrome/MobiControl version combination lately.  So, you'd better do it yourself for your own server/device environment.  Start with just a single blacklist (exception) URL with no wildcard.  

If possible, please share your test results here  for your particular Chrome/MobiControl version combination.

SR
Simon Robinson
3 years ago

Raymond - I have just tried your suggestion, having just one website on the "block" list and nothing else. When this is the case, I can still access that particular site on one of the tablets, so evidetnly the web filter is not working.

RC
Raymond Chan Diamond Contributor
3 years ago

Did you mean the blocking failed in only one device but succeeded in a few others? Or did you actually just looked at one device and it failed?

What exactly did you type in?

I just took 2 minutes to test a Samsung device on hand and it was OK.

SR
Simon Robinson
3 years ago

I only tested this on one device, and I was able to access the website that is "blocked" through the browser.

I copied the website URL from the Lockdown profile, so it is exactly the same in the Web Filter.

EDIT: When the URL is typed into Chrome, it's blocked. However, following a link from the Lockdown page isn't blocked.

SB
Simon Breuer
3 years ago

I checked the Web Filter myself and I am running in the same problem as you, Simon.

The configuration is not applied to the Chrome browser.

I am using agent version 15.2.3 and Chrome 105.*.

On the following website you can see which types of URLs Chrome understands in its block or allow lists.
https://chromeenterprise.google/policies/?policy=URLBlocklist.

So I think it is correct to use the * symbol for blocking all websites. 

I tested it with blocking one specific website, but no success.

You can check if Chrome has applied the policy successfully by typing chrome://policy in the address bar.

My bookmark policy is visible, but not the block or allow list for URLs.

edit: After upgrading the device agent to v15.2.4 it suddenly works for me.

In my example I created a block rule with the following content:

www.spiegel.de

And it worked. This website is blocked by Chrome.

So you may try upgrading the device agent to the latest version.

RC
Raymond Chan Diamond Contributor
3 years ago

Firstly,  retry with simple URL such as 

     www.google.com

Secondly, test on more than one device, preferably of different brand/model or firmware version, to confirm if the problem is consistent?

Thirdly, check the version and build numbers of your MobiControl server.

SR
Simon Robinson
3 years ago

I am trying with a simple URL - the example I'm using is www.passwordmonster.com - and it's blocked if I open Chrome as an app, but not from the Lockdown shortcut.

All the tablets we are using are the same make, model and firmware version but I have had the same behaviour on two different tablets.

We are using Mobicontrol version 15.5.1.1010

RC
Raymond Chan Diamond Contributor
3 years ago

OMG.  That's why.

So, it works in the Chrome Browser app.  Just the same test results as mine.

When you use a lockdown shortcut, the web-page is displayed by the rendering engine within the Soti device agent, not by the Chrome Brower app.  The Web-Filter profile payload option affects only the Google Chrome Browser app.

BTW If you want to block an URL, you won't add it as a lockdown shortcut anyway.

Forget about the document at https://chromeenterprise.google/policies/?policy=URLBlocklist., as the parser in my MobiControl server v15.6 does not allow many of the patterns mentioned.

Blocking of all initially with wildcard * is OK,  but whitelist of all with wildcard * is not allowed (not needed anyway)

Single-character wildcard ?, slash and colon character are not supported.

SR
Simon Robinson
3 years ago

If this is the case, how do I use web filtering from the Soti engine? I assumed that iwas just using a modified version of Chrome. 

I realise that using a lockdown link isn't the way to block a URL, it was just the easiest way to test the filtering.

RC
Raymond Chan Diamond Contributor
3 years ago

If Google Chrome browser app is already the default browser or the only browser app available on your device, use the following as your kiosk item to go to www.abc.com:

    intent:https://www.abc.com#Intent;action=android.intent.action.VIEW;end

In your web filter profile payload, specify

   BLOCK   *

   ALLOW   www.abc.com

SR
Simon Robinson
3 years ago

Thanks for this, but ideally we want to keep using the Soti browser as that's what we have used when testing all the websites. Is there any optoin to apply web filtering to the Soti browser rather than Chrome?

SR
Simon Robinson
3 years ago

Also, when pages open in Chrome rather than the Soti browser, it shows the address bar, tabs etc. which we want to hide from those using the tablets

RS
Rafael Schäfer
3 years ago

Then you definitely need chrome app policy with managed app config to configure chrome or provide the links via private web-app from playstore.

But in the private web-appp there's still the option avaiulable "open this in chrome", so iw ould use the app policys as mentioned just at my first post here.

And as you wrote you seem have problems with that you should open a support case with Soti.

RS
Rafael Schäfer
3 years ago

If i have read correctly above: Chrome settings are fine but the links are not opened in chrome, right?

Then take a look here:

https://discussions.soti.net/thread/lockdown-launch-an-url-with-chrome

SR
Simon Robinson
3 years ago

The Chrome settings are fine, but the problem is (as with the person on the linked thread) we don't have a managed Google account so can't use some of the suggestions.

I find it strange that Soti provide an in-built browser that does everything else we need, but can't be configured with blacklist/whitelist options.

RS
Rafael Schäfer
3 years ago

You can.

In the Soti Surf profile, is the tab "filtering".

There you have to enable "website restrictions" and (in your case i think) choose whitelist.

Enter all allowed websites here. And maybe add additional options here if needed.

SR
Simon Robinson
3 years ago

Thanks Rafael. Do I need to change anything else to enable this? I've set up a rule with one website on the whitelist, but I can still access other websites from the Lockdown screen.

RS
Rafael Schäfer
3 years ago

Maybe someone else can help you here, haven't used it for now but was sure there's a setting.

Sorry.

RC
Raymond Chan Diamond Contributor
3 years ago

Hi Simon,

There are currently no managed configuration options in Google Chrome to hide address bar or other features needed in your use case.  So you shouldn't be using or asking about web-filtering profile payload in the first place, as it is used to configure Google Chrome apps.  The built-in renderer is primarily used to support a very flexible lockscreen layout with html/css/javascript that all likely reside on the device, and is not meant for accessing external web pages in a secured manner, and that's why there is no support for URL blacklist/whitelist.

When doing your tests using Soti Surf,  you had actually made the right choice.  Just use surf://YourURL  rather than https:// or other kiosk item types, when defining your lockdown item.   It has an added advantage of supporting dynamic URL with custom attributes or some standard MobiControl macros.

There are plenty of security features configurable using Soti Surf profile payload, including kiosk, catalog, whitelist, ...