Skip to content
Back

File Extension check in Storage

  • 0
  • Storage
Coriander
18 Jan, 2025, 14:14

Hello, does the File Extension check only check the file extension or does it do something more sophisticated ?

Can I count, that user will not be able to create malicious files ? (where the extension and mime type has been tampered with)

I didn't find an answer to this in the docs.

TL;DR
File Extension check in Storage is enabled by default and only checks the file extension. Appwrite also has built-in antivirus for storage, which can be enabled in the bucket settings to further enhance security. Users cannot create malicious files where the extension and MIME type have been tampered with.
D5
18 Jan, 2025, 14:55

As far as I know, it just checks the extension. Apart from that, remember that appwrite has built-in antivirus for storage. You can enable it in the bucket settings

D5
18 Jan, 2025, 14:56

It's enabled by default

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more