Forum Discussion

George_33482's avatar
George_33482
Icon for Nimbostratus rankNimbostratus
Oct 11, 2012

ASM upload file restriction per specific ip address

Hello,

 

I have an ASM and i need to restict upload of file extensions for all ip addresses except for specific ip address.

 

So how can I do this? In the File Type tab in the ASM configuration you can allow or disallow file type upload for all ip

 

addresses and there is no option to exclude ip address.

 

 

Thank you for your support.

 

Regards,

 

George

 

1 Reply

  • you can bypass all security checks for specific IP but not sure about specific check :

     

     

    when HTTP_CLASS_SELECTED {

     

    ASM::enable

     

    if { [HTTP::uri] starts_with "/bypass" } {

     

    ASM::disable

     

    }

     

    }