Disallowed file names

One word or phrase per line. Matching substrings in basenames become underscores — uploads are not rejected.

Settingfnames_not_allowed

Disallowed file names

One word or phrase per line. Each case-insensitive substring match in the stored basename is replaced with underscores.

Where to find it

Admin → Settings → Files → Uploads → Disallowed file names

Setting key: fnames_not_allowed

How it works

This sanitizes the name — it does not reject the upload like extension lists do. Use for brand abuse or obvious spam tokens (example: warez).

Applied with filename handling after optional Sanitize filenames.

Common problems

Short words wreck normal filenames

Banning con or mp mangles lots of names. Prefer distinctive phrases.

Related