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

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -