Block All User Logins Except Admin Temporarily

I had a site that has been compromised by a hacker and have begun restoring portions of it.

However, I need to stop users from logging in while I am rebuilding. Is there an easy way to do this?