Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

How do I block Image search?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

How do I block Image search?

L0 Member

Hi 

 

I am fairly new to Palo's and I am trying to figure out how I can block search engine image searches. I know there are currently no real app-ids that cover this and just wondering if anyone has a way to block all image search results on the big search engines such as google.

1 accepted solution

Accepted Solutions

Hi All,

 

Figured it out

 

If you ever need to configure blocking for Image Search on Palo Alto or any particular search for Google then the Palo Alto can achieve this through URL Filtering

 

The Steps are as follows

 

Go to Objects then Customer URL Catergory

 

Create a New Category

 

Enter the following String

 

*/*&tbm=<Switch>&*

 

Where <Switch> is replace with the actual switch.

 

Image Search = tbm=isch

personal - tbm=pers

shopping - tbm=shop

books - tbm=bks

Video - tbm=vid

 

If you look at a search string in the url search, you will find that these are key switches for search results.

 

When completed, go to URL filtering profile, look for the newly created category and choose deny.

View solution in original post

4 REPLIES 4

Cyber Elite
Cyber Elite

Hello,

So the short answer is no. But are you trying to just block our inicilt images or anything such as cars for example?

 

Regards,

@Pooch87,

 

So longer answer would be kinda

Sites like Bing is easy enough to do because the URL is always going to be www.bing.com/images/ so that one is pretty simple. Google gets really hard because it doesn't really have any seperators, just one long string. So with a google search it will always be 'www.google.com/search?q="whateveryousearchedfor"&source=Inms&tbm=isch', essentially the only thing you want to match on this is "tbm=isch". Notice that since there are no common seperators this really can't be done effectively from the firewall. 

Most of the other search engines that are popular are also going to be like google, where you don't really have any seperators to go off of. 

 

As @OtakarKlier mentioned this isn't really a visable solution if you are trying to do it with the firewall.

Hi All,

 

Figured it out

 

If you ever need to configure blocking for Image Search on Palo Alto or any particular search for Google then the Palo Alto can achieve this through URL Filtering

 

The Steps are as follows

 

Go to Objects then Customer URL Catergory

 

Create a New Category

 

Enter the following String

 

*/*&tbm=<Switch>&*

 

Where <Switch> is replace with the actual switch.

 

Image Search = tbm=isch

personal - tbm=pers

shopping - tbm=shop

books - tbm=bks

Video - tbm=vid

 

If you look at a search string in the url search, you will find that these are key switches for search results.

 

When completed, go to URL filtering profile, look for the newly created category and choose deny.

@Pooch87,

Just a word of caution with the strings that you are using, this is a lot more resource intensive on the firewall and can cause some performance issues. If your firewall is able to handle it that's great, but it's something to keep an eye out going forward. 

  • 1 accepted solution
  • 3707 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!