Block specific file types as attachments to forms

This policy setting allows administrators to add file types (determined by file extension) to the standard list of file types that InfoPath blocks users from attaching to forms.

If you enable this policy setting, you can specify file type extensions to block in addition to the standard list of prohibited file types in InfoPath.

If you disable or do not configure this policy setting, users can attach any type of file to the form except potentially unsafe files that might contain viruses, such as .bat or .exe files.

Supported on: At least Windows 7

Prevent these file types. Example: exe; bat; cmd

Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\15.0\infopath\security
Value Nameunsafefiletypesadd
Value TypeREG_SZ
Default Value

inf15.admx

Administrative Templates (Computers)

Administrative Templates (Users)