[wp-trac] [WordPress Trac] #21981: Securing the uploads directory

WordPress Trac noreply at wordpress.org
Mon Aug 15 13:04:06 UTC 2016


#21981: Securing the uploads directory
-------------------------+------------------------------
 Reporter:  japh         |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Upload       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------------

Comment (by Presskopp):

 Not sure if this within the bounds of possibility to upload them, but
 shouldn't we also consider .phtm(l)-files?

 Another approach:

 {{{
 <FilesMatch "\.ph(p[0-9]?|tml?)$">
    deny from all
 </Files>
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21981#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list