Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to block docs.google but allow a specific doc through Squidguard?

    Scheduled Pinned Locked Moved Cache/Proxy
    6 Posts 2 Posters 564 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Davejayhawk
      last edited by stephenw10

      PFSense 2.4.4-RELEASE-p3
      Squidguard 1.16.18_3

      Squidguard is working fine. I have docs.google blocked. I need to be able to have users access a few specific Google Docs while blocking the rest of the docs.google subdomain. Anyone have any advice on how to do this? Looking forward to help, been scouring the web for examples of this situation and coming up a bit short.

      [Example]bfd3d916-1e1d-4875-a770-196bc61ce870-image.png

      This link is off a letter or two in that string, but you get the idea I am sure.

      D 1 Reply Last reply Reply Quote 0
      • D
        Davejayhawk @Davejayhawk
        last edited by

        No one has any ideas on this?

        1 Reply Last reply Reply Quote 0
        • D
          Davejayhawk
          last edited by

          https://forum.netgate.com/topic/65411/squid-squidguard-allow-only-specific-url-and-not-the-entire-domain

          Does anyone have an opinion if this would work?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            The actual full URL the doc uses will change depending on who is accessing it and what they are doing to it which would be an issue.

            You might be able to whitelist the main document string using regex though.

            Steve

            D 1 Reply Last reply Reply Quote 0
            • D
              Davejayhawk @stephenw10
              last edited by

              @stephenw10 Thanks for the reply, I’ve tried using some different regex combinations without success. Based on the link above, can you suggest the expresión to use? I can’t tell if the whitelist is not allowing the blocked domain or if I have the syntax wrong. Again, thanks a lot for the reply!

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Not really I'm afraid. I'm not that familiar with those URLs. The form you are referencing there seems to maybe have different name structure to regular docs I have used. If any part of that string is fixed though you should be able to match on it.

                Steve

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.