Skip to main content
ahassiotis
New Member
July 1, 2019
Question

Block URL when referer is empty

I wanted to block access to a specific URL when there is no 'referer' header.

I tried doing that using Advanced Protection->Custom policy and adding a rule with "URL" and "HTTP Header->Referer" as filters.

It seems I can't simulate a non existent referer header. I used an  inverse match on .* and a match on .? as my regular expressions but I can't get this to work.

Any ideas on how to go about this?

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT