Author: Cheese Slayer | Posted on: 7/18/2009 4:57:13 PM | Views : 343

I have the following code that I run inside my code, and then output the response

string URL = "http://webservice.com/API.aspx?" + getparams; System.Net.WebRequest req = System.Net.WebRequest.Create(URL); req.Method = "GET"; System.Net.WebResponse resp = req.GetResponse(); if (resp == null) return null; System.IO.StreamReader sr = new System.IO.StreamReader(resp.GetResponseStream());

If the URL required that I include sensitive login information (password/loginname) as part of the Query  Strings in the URL, could it be a security risk that someone might be able to capture the URL being sent out and possibly hack my account?

The getparams string contains the following: "uid=username&pw=password", which is required to use the API of the webservice. Is there a way to make sure that the pw and uid can& ...

Go to the complete details ...