Lockout

Component ID

1412668

Component name

Lockout

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module is not intended to be a remote kill for a client's site. If that is what you need, take a look at killswitch.

What does Lockout do?
This module displays a generic off line page with a message indicating that the site owner should contact technical support. The idea being similar to cPanel's "suspended account" page. Additionally, this module should be used in a similar environment. For example, I build websites for clients and host these sites on my server. They pay me on a recurring basis for the hosting. If they become delinquent in payments and fail to respond to emails or calls, I use this as my last resort to get their attention.

How do I use Lockout?
While logged in as "User 1" visit the lockout settings page, Administration > Configuration > System > Lockout, tick the box and save. While set, one can still access the /user and /admin* sections. This will allows "User 1" to log in again and turn off Lockout.

Doesn't the core maintenance mode do the same thing?
Yes, this is very similar to setting the site to maintenance mode. The maintenance page uses Drupal's theme engine where Lockout provides a static HTML page that does not use any themes in your themes folder. You may make changes to the HTML page found under the templates folder.

Give credit where credit is due
I used the module that was created for the Jan 18th SOPA protest (created by mcantelon) and modified it for the lockout module. Thank you mcantelon for the jump start!

Suggestions Welcomed
Please create an issue for suggestions or questions. Thanks!