Home > Configuration > Application Firewall > bindappfwprofile_fileuploadtype

bindappfwprofile_fileuploadtype

Use this method to bind fileuploadtype to appfw profile.

Syntax



Parameters

name

Name of the profile to which to bind an exemption or rule.
This is mandatory parameter.

fileuploadtype

Protect web sites from unknown file upload types.. A file upload object consists of the following items: * Form field name. The name of the form field. * Form action URL. The form action URL for the web form. * File Type. Allowed file type. * Content Type. Request Content Type.

formactionurl

FileUploadTypes action URL.

isnameregex

Is field name a regular expression?
Possible Values : REGEX, NOTREGEX.

isregex

Is a regular expression?
NOTE: This attribute is deprecated.
Possible Values : REGEX, NOTREGEX.

filetype

FileUploadTypes file types.
Possible Values : pdf, msdoc, text, image, any.

Return Value

Returns simpleResult

See Also