I am using SSL on the Azure platform (provided out of the box) with basic authentication. The call works, but when I view the posts on fiddler, I see the authentication string and any other manual headers I add in what appears clear text. Should this be the case? From what I have read, SSL with basic authentication is an accepted standard and everything should be encrypted.
Using an https url, I see two fiddler entries...the one that tunnels into HTTPS and then a second one. On the second one (https), I can see the three header items the code adds. I would have thought it would be encrypted. Or can I see it on fiddler because the request originated from my machine?
My code looks like this:
var webRequest = WebRequest.Create(azureSiteContract);
webRequest.Headers["Authorization"] = Convert.ToBase64String(Encoding.Default.GetBytes(user + ":" + pass));
webRequest.Headers["Test"] = "blah1";
webRequest.Headers["Test2"] = "blah2";
webRequest.Credentials = new NetworkCredential(user, pass);
using (var webResponse = webRequest.GetResponse())
{
using (var responseStream = webResponse.GetResponseStream())
{
results = new StreamReader(responseStream).ReadToEnd();
}
}