HttpWebRequest and SSL

G

Guest

When using HttpWebRequest with an 'https' address, does it automatically
encrypt the data being sent or are there additional steps that need to be
taken?
 
J

JS

Glenn said:
When using HttpWebRequest with an 'https' address, does it automatically
encrypt the data being sent or are there additional steps that need to be
taken?

Yes, it does still encrypt the data being sent via the SSL pipe and you
need to associate a NetworkCredential to your
HttpWebRequest.Credentials property that has a valid UserName and
Password defined.
 
J

Joerg Jooss

Thus wrote js,
Yes, it does still encrypt the data being sent via the SSL pipe and
you need to associate a NetworkCredential to your
HttpWebRequest.Credentials property that has a valid UserName and
Password defined.

The latter is only necessary for HTTP Authentication.

Cheers,
 
J

JS

Joerg said:
Thus wrote js,


The latter is only necessary for HTTP Authentication.

Cheers,


Yup...no arguments there. Jumped to the conclusion that he would
require authentication.

My bad.

J.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top