LAN Check

Categories

Component ID

861254

Component name

LAN Check

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

632

Component created

Component changed

Component body

This module tries to detect whether a website is running on a LAN or on localhost and if yes, outputs tiny message warning a user about this.
Useful in cases when a locally running website is accessed via real domain name.

Module uses hook_boot() to startup and thus is not cached.

CSS style of the message and message text is configured in admin/settings.

The decision whether a website is running locally is made by IP address tests.