Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do I block using regex in XG?

So, I am trying to block based on a regex, but cannot find anywhere which would accept this. Specifically, I want to block editing on Wikipedia for a group of users - so I have a regex that checks Wikipedia site requests for the action=edit part at the end, but as far as I can tell I can only block based on domain, URL or keyword?

Does anyone know how I can do this?



This thread was automatically locked due to age.
Parents
  • AFAIK it can't be done with regex, but you can achieve your goal. 
    I've just tested it and it works.

    Step 1.
    Protect > Web > Categories: add a categorie like this:

    Step 2.
    Protect > Web > User activities: Create a new activity like this:

    Step 3.
     Protect > Web > Policies: edit / create a policy ie.:

     

    I've tested this on you're URL: https://en.wikipedia.org/wiki/The_Unconquered_(1940_play)
    I
     can view this page but can't edit it.

    Good luck.

     
    SFVH (SFOS 20.0.0 GA-Build222) - Last (re)boot on November 6th  2023
    Asus H410i-plus - Pentium 6605 Gold - 250GB M.2 PCIe NVMe SSD - 8GB - 3 ports
    [If any of my posts are helpful to you please use the 'Verify Answer' link]
Reply
  • AFAIK it can't be done with regex, but you can achieve your goal. 
    I've just tested it and it works.

    Step 1.
    Protect > Web > Categories: add a categorie like this:

    Step 2.
    Protect > Web > User activities: Create a new activity like this:

    Step 3.
     Protect > Web > Policies: edit / create a policy ie.:

     

    I've tested this on you're URL: https://en.wikipedia.org/wiki/The_Unconquered_(1940_play)
    I
     can view this page but can't edit it.

    Good luck.

     
    SFVH (SFOS 20.0.0 GA-Build222) - Last (re)boot on November 6th  2023
    Asus H410i-plus - Pentium 6605 Gold - 250GB M.2 PCIe NVMe SSD - 8GB - 3 ports
    [If any of my posts are helpful to you please use the 'Verify Answer' link]
Children