Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have been trying to learn how to establish a secure connection for one of our webforms. Everything I have found seems to be very involved and lengthy, but all I am interested in is how to tell .NET to turn the secure connection "ON" when I need it, and "OFF" when I am finished.

 

Could someone give me a rundown of the basics? Example: PageA.aspx is Non-Secure. The OK button on it directs the customer to Secure PageB.aspx (in the same folder). PageB.aspx directs the customer to a third Non-Secure PageC.aspx when PageB.aspx's OK button is clicked.

Posted
Where do certificates come from?

 

Are they inserted or declared in the code somewhere? If so, the HTML or the ASP.NET code?

 

Is the certificate something that gets stored on the server?

You purchase certificates from a CA (Certificate Authority). They are installed on the web server. You shouldn't have to worry about anything other than finding out if your web hosting company supports certificates and if they have a preferred vendor (usually will get you a discount). They aren't cheap; some web host such as mine offer a shared certificate; this is what I use with my web host because it's free with the hosting. There is no coding you need to worry about; you would be able to check through the Server object (I believe) to see if your on a secure connection, but that's about it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...