We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 225583f commit 39f13d0Copy full SHA for 39f13d0
docusaurus/docs/cms/features/media-library.md
@@ -330,8 +330,10 @@ export default {
330
331
#### Security
332
333
+The Upload plugin validates files based on their actual MIME type rather than the declared file extension.
334
+Only files matching the defined security rules are uploaded; others are filtered out.
335
-Configures validation rules for uploaded files to enhance media security.
336
+The `security` configuration provides two options: `allowedTypes` or `deniedTypes`, which let you control which file types can or cannot be uploaded.
337
338
:::note
339
It's best to define either `allowedTypes` or `deniedTypes`, not both, to avoid conflicts in file validation logic.
0 commit comments