Log in
Model

Security

Magento\AdminNotification\Model\System\Message\Security

What it does

This system message model checks if sensitive configuration files (like app/etc/config.php) are publicly accessible via HTTP requests.

When the file is accessible, it displays a critical security warning in the admin panel, alerting administrators that their web server is misconfigured and sensitive files are exposed.

Public Methods

  • getIdentity()
  • isDisplayed()
  • getText()
  • getSeverity()