cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
259
Views
1
Helpful
4
Replies

Regex URL in Web policy

manvik
Level 3
Level 3

Any mechanism in umbrella to permit a regex URL like block google.com but permit google.com/maps/page

1 Accepted Solution

Accepted Solutions

Royalty
Level 1
Level 1

Hi @manvik,

Judging by your title "Regex URL in Web policy" it can be assumed you are running either with SIG-Essentials or SIG-Advantage licensing, and having looked at your previous posts, it looks like you do have one of those SIG packages. The 'Web policy' pane does not show up unless you have the license anyway.

It is possible to block specific URL paths even if you're only using the DNS policy, but it requires the Intelligent Proxy feature turned on. Allowing specific URL paths is not supported, only blocking.

To directly answer the question of how to do this within the Web policy and allowing/blocking specific URL paths, yes it is possible. You could, for example, configure a rule that blocks bbc.co.uk/news/wales, allows bbc.co.uk/news but blocks bbc.co.uk. If you are doing this it is good practice to ensure that you have HTTPS Inspection turned on in the Web policy and the domain that the URL resides on is NOT added to the Selective Decryption List (though not a requirement in all cases). You will also need to create at least two web policy rules within your rulesete.g. one for blocking and another for the allow. For your specific example of google.com and google.com/maps, it is possible, but it wouldn't be as simple as just adding 'google.com/maps' to a destination list as google maps will leverage other domains that are now being blocked due to blocking the 'google.com' domain. So, in this case, you would probably use an application setting to allow 'Google Maps' as an application, but even that may not be enough to get it to work, it depends on the complexity of the site or URL path you are visiting, e.g. if iframes are used, etc. In the policy creation, your allow rule would have a destination list and possibly an application list attached to match on what you want to allow, and the block would be beneath it to block 'google.com'.

So you certainly can achieve the above using a Destination List or a combination of that with Content Categories or Application Settings, you just need to structure your rules appropriately. The first example I used of blocking specific parts of bbc.co.uk could be achieved as per the below image, where each rule within your matched ruleset references a separate destination list to block or allow the specific paths (see the name and rule number order). It is an unrealistic example, but an example of how granular you can get. Destination List entries have implicit wildcards (you do not need to add a wildcard yourself) and that is why three rules are needed. The documentation below should also explain this (sub-sections: Control Access to Custom URLs, and, Wildcards and Destination Lists, within the 'Manage Destination Lists' parent section, are good reads)

Royalty_1-1754140997465.png

These sections (and more importantly, their sub-sections) of the documentation are relevant:

https://docs.umbrella.com/umbrella-user-guide/docs/manage-destination-lists
https://docs.umbrella.com/umbrella-user-guide/docs/manage-web-policies
https://docs.umbrella.com/umbrella-user-guide/docs/manage-content-categories
https://docs.umbrella.com/umbrella-user-guide/docs/application-settings

If anything is unclear or you have any further questions, just ask. Hope that wasn't too confusing.

View solution in original post

4 Replies 4

Enes Simnica
Level 4
Level 4

@manvik hello there. Well umbrella works at the dns level, SOOOOO it only sees domain names, not fur ulrs. Meaning that u can block or allow google,com but not specific paths like google.com/maps////...... 

and my friend, if u need that kind of detailed control, ud need umbrella secure web gateway featuree.. SO SHORT ANSWER IT IS NOPE, NOT WITH BASIC UMBRELLA, BUT YES IF U USING swg.

PEace!

 

-Enes

more Cisco?!
more Gym?!



If this post solved your problem, kindly mark it as Accepted Solution. Much appreciated!

we're using Umbrella SIG Essentials

balaji.bandi
Hall of Fame
Hall of Fame

Royalty
Level 1
Level 1

Hi @manvik,

Judging by your title "Regex URL in Web policy" it can be assumed you are running either with SIG-Essentials or SIG-Advantage licensing, and having looked at your previous posts, it looks like you do have one of those SIG packages. The 'Web policy' pane does not show up unless you have the license anyway.

It is possible to block specific URL paths even if you're only using the DNS policy, but it requires the Intelligent Proxy feature turned on. Allowing specific URL paths is not supported, only blocking.

To directly answer the question of how to do this within the Web policy and allowing/blocking specific URL paths, yes it is possible. You could, for example, configure a rule that blocks bbc.co.uk/news/wales, allows bbc.co.uk/news but blocks bbc.co.uk. If you are doing this it is good practice to ensure that you have HTTPS Inspection turned on in the Web policy and the domain that the URL resides on is NOT added to the Selective Decryption List (though not a requirement in all cases). You will also need to create at least two web policy rules within your rulesete.g. one for blocking and another for the allow. For your specific example of google.com and google.com/maps, it is possible, but it wouldn't be as simple as just adding 'google.com/maps' to a destination list as google maps will leverage other domains that are now being blocked due to blocking the 'google.com' domain. So, in this case, you would probably use an application setting to allow 'Google Maps' as an application, but even that may not be enough to get it to work, it depends on the complexity of the site or URL path you are visiting, e.g. if iframes are used, etc. In the policy creation, your allow rule would have a destination list and possibly an application list attached to match on what you want to allow, and the block would be beneath it to block 'google.com'.

So you certainly can achieve the above using a Destination List or a combination of that with Content Categories or Application Settings, you just need to structure your rules appropriately. The first example I used of blocking specific parts of bbc.co.uk could be achieved as per the below image, where each rule within your matched ruleset references a separate destination list to block or allow the specific paths (see the name and rule number order). It is an unrealistic example, but an example of how granular you can get. Destination List entries have implicit wildcards (you do not need to add a wildcard yourself) and that is why three rules are needed. The documentation below should also explain this (sub-sections: Control Access to Custom URLs, and, Wildcards and Destination Lists, within the 'Manage Destination Lists' parent section, are good reads)

Royalty_1-1754140997465.png

These sections (and more importantly, their sub-sections) of the documentation are relevant:

https://docs.umbrella.com/umbrella-user-guide/docs/manage-destination-lists
https://docs.umbrella.com/umbrella-user-guide/docs/manage-web-policies
https://docs.umbrella.com/umbrella-user-guide/docs/manage-content-categories
https://docs.umbrella.com/umbrella-user-guide/docs/application-settings

If anything is unclear or you have any further questions, just ask. Hope that wasn't too confusing.