Forum Discussion

PCopland's avatar
PCopland
Icon for Nimbostratus rankNimbostratus
Mar 22, 2014

How can I allow external host connections based on the presence of a file or cookie on host?

How can I allow external host connections based on the presence of a file or cookie on host?

 

  1. Place a file or cookie on the host
  2. F5 checks for the existence of the file when host attempts connection.
  3. If file does not exist, F5 will refuse the connection.

1 Reply

  • On the cookie part, how does the cookie get there in the first place?

    when HTTP_REQUEST {    
        if { not ( [HTTP::cookie exists JSESSIONID] ) } {        
             reject             
        }
    }    
    

    On the file part, checking for a file in the client's file system usually requires an agent on the client side. The Access Policy Manager (APM) module can do this natively.