Https Implementation in asp.Net -


how can implement https login in asp.net , c#

i'm assuming ok normal login page. ssl buy certificate , install http://www.instantssl.com/ssl-certificate-support/cert_installation/iis_ssl_certificate_5x.html

then make sure login page redirects https rather http.

        if (!request.issecureconnection)         {             response.redirect(request.url.absoluteuri.tolower().replace("http", "https"), true);         } 

Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -