This feature was intended for a members-only site. It assumes your site is using Forms Authentication.
- Edit the web.config file.
- Search for the section that begins with <authentication.
<forms ... loginUrl="login.aspx"
<forms ... loginUrl="welcome.aspx"
- Update the <authorization> section appear like the following code block. If an <authorization> section does not exist, add it immediately after the </authentication> section:
<deny users="?" />