it is depend on how you handle the authentication in your web site.
What you can do is check for user authenticated or not in your page load method and redirect to login page if not authenticated.
for example if you using form authentication, you can do as below in page load method
if(!this.Context.User.Identity.IsAuthenticated)
{
Respose.Redirect("~/LoginPage.aspx");
}