Hi,
If you need to secure only one page most simplest solution is in Global.asax
protected void Application_BeginRequest(Object sender, EventArgs e)
{
if ( !Request.IsSecureConnection)
{
if(Request.Url.AbsoluteUri.contains("sign.aspx")
{
string path = string.Format("https{0}", Request.Url.AbsoluteUri.Substring(4));
Response.Redirect(path);
}
}
}
For better solution check
this[
^]or
here[
^]
Hope this will help.