# \[Companion\] Is there a way to validate file extensions, mimetypes, sizes server-side?

**URL:** <https://community.transloadit.com/t/companion-is-there-a-way-to-validate-file-extensions-mimetypes-sizes-server-side/15711>\
**Category:** Uppy\
**Created:** [May 3, 2021, 10:26pm UTC](https://community.transloadit.com/t/companion-is-there-a-way-to-validate-file-extensions-mimetypes-sizes-server-side/15711 "2021-05-03T22:26:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcosthejew](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/marcosthejew/32/368_2.png) [@marcosthejew](https://community.transloadit.com/u/marcosthejew)\
**Post date:** [May 3, 2021, 10:26pm UTC](https://community.transloadit.com/t/companion-is-there-a-way-to-validate-file-extensions-mimetypes-sizes-server-side/15711/1 "2021-05-03T22:26:23Z")

</div>

Hello, I want to know if there is an out-of-the-box way to filter files by their mimetype, extension, size, etc… on the companion size, I know Uppy is capable of doing so, but for obvious reasons, there’s the need of backend validation as well. Is there a way to do so? (without relying on the Redis tasks settings).
