3
Thats a good way to go about it.
Alternatively you could go to System Admin > Preferences > General Settings and set "Turn your site off?" to "Yes", then on the same page select Registered Users and Webmasters as groups allowed to access the site while "off".
www.myxoops.com - MyXoops Is Your XOOPS!