Forum Discussion

Antony2015's avatar
Antony2015
Icon for Altostratus rankAltostratus
Apr 09, 2016

new iRule for Internet users

Dear friends,

 

I have an iRule requirement as below.

 

Not to allow the the below URI context for external users, but internal users should able to access it.

 

x.y.com/ijk/healthcheck

 

Also allow the external users still continue to access the other resources of the application.

 

x.y.com/abc x.y.com/bcd

 

Any help would be highly appreciated.

 

1 Reply

  • Josiah_39459's avatar
    Josiah_39459
    Historic F5 Account

    If it is a security concern, you should really look into ASM and AFM, the security modules. As a programmatic exercise you could have an irule to check the source ip and uri and allow (do nothing) or reject the traffic accordingly. Check the irules wiki for IP::client_addr and HTTP::uri for examples.