File type restriction for uploader

  1. Trân Minh-Quân

    Please, for security concerns, implement a file type restriction for the uploader, based on role would be best while we don't have a better user system.
    PHP uploading is dangerous, and there is only Contributer who can write and cannot upload.
    Author should have the ability to upload but please don't let them upload PHP files. :)

    Posted: 10 years ago #
  2. Alex Dunae

    The WP upload_mimes filter will do that for you.

    Posted: 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    0 Votes
  • Status

    This idea has been implemented