{
"sections": [
"title",
"description",
"file_information",
"directory_location",
"fields",
"sub_types",
"wsdl_segment",
"declarative_metadata_sample_definition"
],
"title": "FileUploadAndDownloadSecuritySettings - Metadata API",
"description": "Represents the security settings for uploading and downloading files. This type extends the Metadata metadata type and inherits its fullName field.",
"file_information": ".settings",
"directory_location": "settings",
"fields_columns": [
"type",
"description"
],
"fields": {
"dispositions": {
"type": "FileTypeDispositionAssignmentBean[]",
"description": "Represents the metadata used to manage filetype behavior. This field is available in API version 39.0 and later."
},
"noHtmlUploadAsAttachment": {
"type": "boolean",
"description": "Indicates whether to allow HTML uploads as attachments or document records. This field is available in API version 39.0 and later."
}
},
"sub_types": {
"FileTypeDispositionAssignmentBean": {
"behavior": {
"type": "FileDownloadBehavior (enumeration of type string)",
"description": "One of the following values: DOWNLOAD EXECUTE HYBRID The following filetypes are a security risk and can not have EXECUTE behavior: EXE FLASH HTML RFC822 SVG TXML UNKNOWN WEBVIEW XHTML XML"
},
"filetype": {
"type": "FileType (enumeration of type string)",
"description": "Although more filetypes exist, these are the only ones supported by FileTypeDispositionAssignmentBean AVI EXCEL EXCEL_X EXE FLASH HTML INSIGHT MOV MP3 MP4 MPEG PDF POWER_POINT POWER_POINT_X RFC822 SVG TXML UNKNOWN WAV WEBVIEW WMA WMV WORD WORD_X XHTML XML"
},
"securityRiskFileType": {
"type": "boolean",
"description": "Indicates filetypes that cannot have behavior set to EXECUTE, due to security risks. This field is read-only."
}
}
},
"wsdl_segment": "```xml\n\n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n\n\n \n \n \n\n```",
"declarative_metadata_sample_definition": [
{
"description": "The following is an example of a FileUploadAndDownloadSecuritySettings component.",
"code": "\n \n HYBRID\n AVI\n false\n \n \n HYBRID\n WORD\n false\n \n \n HYBRID\n WORD_X\n false\n \n \n DOWNLOAD\n EXE\n true\n \n \n DOWNLOAD\n HTML\n true\n \n \n DOWNLOAD\n WEBVIEW\n true\n \n \n DOWNLOAD\n RFC822\n true\n \n \n HYBRID\n MOV\n false\n \n \n HYBRID\n MP3\n false\n \n \n HYBRID\n MP4\n false\n \n \n HYBRID\n MPEG\n false\n \n \n HYBRID\n PDF\n false\n \n \n HYBRID\n POWER_POINT\n false\n \n \n HYBRID\n POWER_POINT_X\n false\n \n \n DOWNLOAD\n SVG\n true\n \n \n DOWNLOAD\n FLASH\n true\n \n \n DOWNLOAD\n TXML\n true\n \n \n DOWNLOAD\n UNKNOWN\n true\n \n \n HYBRID\n WAV\n false\n \n \n HYBRID\n WMA\n false\n \n \n HYBRID\n WMV\n false\n \n \n DOWNLOAD\n XHTML\n true\n \n \n HYBRID\n EXCEL\n false\n \n \n HYBRID\n EXCEL_X\n false\n \n \n DOWNLOAD\n XML\n true\n \n false\n"
}
]
}