Viks
Viks

Reputation:

Adding SSL on a single Page in ASP.NET

I want 'only' my Login page to be SSL enabled. When the user logsin using https://mysite.login.aspx, after the login the user should be taken to an http://mysite.default.aspx

Please tell me step by step how to do it.

Upvotes: 4

Views: 2100

Answers (2)

Abram Simon
Abram Simon

Reputation: 3269

In addition to the advice from Filip, you may also be interested in a free http module that will allow you to require that certain pages or folders be secure. So if the user tries to access your login page without SSL they will be automatically redirected to the secure version. The module is easy to configure which might come in handy if you find that other pages should require security as well.

See the details and download the source/binary at CodeProject

Upvotes: 2

Filip Ekberg
Filip Ekberg

Reputation: 36287

Here's a Step by Step Guide for you!

Try out this guide for Self-Signed SLL Certs. Using IIS 7

Upvotes: 4

Related Questions