Project

General

Profile

Support #9970

Sorry, this file type is not permitted for security reasons error message - exceptions allowed?

Added by Michael Shields about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress - Media
Target version:
-
Start date:
2018-06-26
Due date:
% Done:

0%

Estimated time:

Description

Hi everyone,

Is there a list of file types that are allowed to be uploaded and is it possible to request exceptions for certain sites? I'm trying to upload SPSS syntax (.sps) but am unable to "for security reasons."

Thank you!

History

#1 Updated by Matt Gold about 1 year ago

  • Category name set to WordPress - Media
  • Status changed from New to Assigned
  • Assignee set to scott voth

Great question. Scott, do we have such a list?

#2 Updated by scott voth about 1 year ago

  • Assignee changed from scott voth to Boone Gorges

The standard media file types are listed here: https://codex.wordpress.org/Uploading_Files

I'm not actually sure if the Commons restricts some of these or has any additional ones.

Boone - do you know?

#3 Updated by Boone Gorges about 1 year ago

Hi Scott - Here is our current list:

jpg jpeg png gif mp3 mov avi wmv midi mid pdf doc docx sav epub xls xlsx rtf txt mp4 ppt pptx

I don't think this is publicly viewable anywhere, though we could probably make it so.

Do we want to add SPSS file types to the list?

#4 Updated by scott voth about 1 year ago

  • Assignee changed from Boone Gorges to Matt Gold

Seems like it would be a good addition. https://en.wikipedia.org/wiki/SPSS

Matt - What do you think?

#5 Updated by Matt Gold about 1 year ago

as long as it doesn't pose security risks, yes, definitely, let's add it. thanks!

#6 Updated by Matt Gold about 1 year ago

  • Assignee changed from Matt Gold to Boone Gorges

#7 Updated by scott voth about 1 year ago

I will document the file types that we accept on a Help page.

#8 Updated by Boone Gorges about 1 year ago

  • Status changed from Assigned to Resolved

I've added .sps to the list.

This page shows that SPSS supports many different file types https://www.file-extensions.org/spss-file-extensions, but it seems risky to me to add them all proactively. Since .sps was specifically requested, I've added just that one for now, and IMO we should wait for further requests before expanding the whitelist.

Scott, please feel free to reopen if the user continues to have problems, and thanks!

#9 Updated by Michael Shields about 1 year ago

.sps should be all that we need. Thank you very much Boone and Scott! :)

Also available in: Atom PDF