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

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

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

asp.net - call stack missing info on mono with apache and mod_mono -