# Additional filetypes for staff

**URL:** https://meta.discourse.org/t/additional-filetypes-for-staff/77752
**Category:** Support
**Created:** [January 11, 2018, 2:02pm UTC](https://meta.discourse.org/t/additional-filetypes-for-staff/77752 "2018-01-11T14:02:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Denis\_Frosty\_Andreyc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denis_frosty_andreyc/32/87114_2.png) [@Denis\_Frosty\_Andreyc](https://meta.discourse.org/u/Denis_Frosty_Andreyc)
#### Post date: [January 11, 2018, 2:02pm UTC](https://meta.discourse.org/t/additional-filetypes-for-staff/77752/1 "2018-01-11T14:02:05Z")

</div>

I need to allow administrators to upload a specific type of file, such as .bat, .cmd, and others. For ordinary users need to disable it. How can i do it?

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [January 11, 2018, 2:20pm UTC](https://meta.discourse.org/t/additional-filetypes-for-staff/77752/2 "2018-01-11T14:20:36Z")

</div>

I dont believe you can - the only way to do it would be to add it as an authorized extension - upload the file then remove it from the settings after.

Looks like it may be going into version 2.0  
[https://github.com/discourse/discourse/pull/5364](https://github.com/discourse/discourse/pull/5364)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 26, 2020, 8:31am UTC](https://meta.discourse.org/t/additional-filetypes-for-staff/77752/3 "2020-03-26T08:31:47Z")

</div>



---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 27, 2020, 12:36am UTC](https://meta.discourse.org/t/additional-filetypes-for-staff/77752/4 "2020-03-27T00:36:52Z")

</div>

Update, use the site setting `authorized extensions for staff` to add special authorized extensions for staff 🎊

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 26, 2020, 12:36am UTC](https://meta.discourse.org/t/additional-filetypes-for-staff/77752/5 "2020-04-26T00:36:59Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
