Dear All,
I would like to allow website facebook.com, But i only need to block the profile link using regular expression.
Like the link www.facebook.com/profile.php?id=100010106623165. so anyone who's click or search someone using name or email address but while click on the user profile this should be block. Only the ID will be different for everyone.
Anyone can help how to do it using regular expression.
Thanks
I guess the 1st question do you have SSL de-encryption enable on the fw-policies that are allowing traffic to facebook. To write a URL filter would be the easy part but if the client attaches to facebook using https this would create more additional concerns.
Just keep in mind, you have another option of looking at a IPS filter on http content for the string " www.facebook.com/profile.php?id=" and just blocking that access for anything matching that url but like above ssl traffic and encryption needs to be removed to match the string
PCNSE
NSE
StrongSwan
Try this:
www.facebook.com/profile\.php\?id=\d+
User | Count |
---|---|
1921 | |
1144 | |
769 | |
447 | |
277 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.