The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

726 Modules
488 Ready
233 Need Help
🏆 Leaderboard
Actively Maintained v1.0.1

Disable Customer Address Upload

ioweb/module-disable-customer-address-upload

Intercepts the customer address file upload endpoint and returns a 403 Forbidden response, effectively disabling address file uploads for security hardening.

4
Downloads
Below average
0
GitHub Stars
2mo ago
Last Release
0
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
5 warnings
L1 PHPStan

Tested on Magento 2.4.8-p4

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.0.1 on Magento 2.4.8-p4
Mar 21, 2026

Share This Module's Status

Disable Customer Address Upload Magento compatibility status badge

README

Loaded from GitHub

Ioweb Disable Customer Address Upload (Magento 2)

Disables the customer address file upload endpoint in Magento 2 by intercepting the controller and returning 403 Forbidden.

Module Identity

  • Magento module name: Ioweb_DisableCustomerAddressUpload
  • Composer package: ioweb-gr/m2_disablecustomeraddressupload
  • Module root in this repo: repository root

What It Does

  • Intercepts: Magento\\Customer\\Controller\\Address\\File\\Upload::execute
  • Prevents controller execution
  • Returns HTTP 403 with a short error message

Requirements

  • Magento 2
  • magento/module-customer

Installation

Option A: Composer (recommended)

composer require ioweb-gr/m2_disablecustomeraddressupload
bin/magento setup:upgrade
bin/magento cache:flush

Option B: Manual (app/code)

  1. Copy module to:
    • <magento_root>/app/code/Ioweb/DisableCustomerAddressUpload
  2. Run:
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

Uninstall

bin/magento module:disable Ioweb_DisableCustomerAddressUpload
bin/magento setup:upgrade
bin/magento cache:flush

Then remove module files (or remove package if installed via Composer).

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.