11-27-2018 05:34 AM
I'm trying to create a list of URLs that I would like blocked/quarantined based on a custom list. For example dropbox urls, but I can't find a way to create a custom list.
I could use a dictionary but I'm not sure that would work as intended. Anyone have any suggestions?
Solved! Go to Solution.
11-28-2018 07:17 AM
Hello,
You can use the message body or attachment content filter condition and a dictionary with all of the URLs. You'll want to test to confirm but this should be able to do what you need.
Thanks!
-Dennis M.
11-28-2018 07:17 AM
Hello,
You can use the message body or attachment content filter condition and a dictionary with all of the URLs. You'll want to test to confirm but this should be able to do what you need.
Thanks!
-Dennis M.
11-28-2018 07:29 AM - edited 11-28-2018 07:31 AM
Thanks for the suggestion. I thought about doing it this way but wasn't sure how matching would work, IE. "www. link . com" in my dictionary, would that match "www. link .com/something/something.asp
But after reviewing your link I now see I can use regex in a dictionary which should solve that issue.
11-28-2018 07:39 AM
Correct, we utilize the Python flavor of RegEx so you can escape any necessary characters to make sure you match on only what's needed.
Thanks!
-Dennis M.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide