Project

General

Profile

Actions

Support #9970

closed

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

Added by Michael Shields almost 6 years ago. Updated almost 6 years ago.

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

0%

Estimated time:
Deployment actions:

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!

Actions #1

Updated by Matt Gold almost 6 years 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?

Actions #2

Updated by scott voth almost 6 years 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?

Actions #3

Updated by Boone Gorges almost 6 years 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?

Actions #4

Updated by scott voth almost 6 years 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?

Actions #5

Updated by Matt Gold almost 6 years ago

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

Actions #6

Updated by Matt Gold almost 6 years ago

  • Assignee changed from Matt Gold to Boone Gorges
Actions #7

Updated by scott voth almost 6 years ago

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

Actions #8

Updated by Boone Gorges almost 6 years 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!

Actions #9

Updated by Michael Shields almost 6 years ago

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

Actions

Also available in: Atom PDF