Topic file upload edit format ?
please give more details of your requirement
I want to deny uploading the archive files (exe,zip,rar,gzipped .. etc)
if you are asking about forum attachments system then you can remove such file formats
admin panel >> configuration >> Attachment Types --> delete the formats which you do not want to allow