Proxy credentials advice needed



My desktop application (C# 2.0) works just fine and makes tons of
requests via WebRequest and WebClient objects. However, users that are
behind Proxy servers are not able to use the app. I'm sure my head is
not right on this issue and i need to seek advice.

First, I dont really understand why I (the programmer) have to worry
about these details - shouldnt this be somewhere below me on the ISO
stack? But that sounds like complaining, so I'll stop right there.

Second, I dont know how I should handle this. Am i required to fetch
credentials from the user and store it locally? Can i get default
credentials from the OS (or IE)? Note: I have tried this using
CredentialCache.DefaultCredentials, but the values are always blank.

Code snippets would be very helpful and appreciated, but I really
would like to get your opinion on how this should be handled -
conceptually. It just doesnt add up (for me) that every application
that makes web requests, needs to handle this for itself... it should
be down in the OS somewhere (IMHO).

Thanks in advance,

George

.



Relevant Pages

  • Re: Proxy credentials advice needed
    ... The mechanism that you are using for generating http requests and responses is not something that is governed by the system so you have to provide the ability to set proxy information yourself if that is what is needed. ... You basically have to get the credentials from the user and then use the WebProxy class to generate proxy information. ... I dont know how I should handle this. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [Full-disclosure] Persistent XSS and CSRF on network appliance [subject corrected :) ]
    ... all requests to the router's HTTP interface are vulnerable to ... By forging administrative requests ("Administration" button on the ... the administrator's browser has an active authentication session ... default credentials unless a hard reset is performed on using the ...
    (Full-Disclosure)
  • Re: [Full-disclosure] Persistent XSS and CSRF on network appliance [subject corrected :) ]
    ... all requests to the router's HTTP interface are vulnerable to ... By forging administrative requests ("Administration" button on the ... The attack can only be successfuly if any of the following ... default credentials unless a hard reset is performed on using the ...
    (Full-Disclosure)
  • Re: [Full-disclosure] Persistent XSS and CSRF on network appliance [subject corrected :) ]
    ... all requests to the router's HTTP interface are vulnerable to ... By forging administrative requests ("Administration" button on the ... the administrator's browser has an active authentication session ... default credentials unless a hard reset is performed on using the ...
    (Full-Disclosure)
  • Re: [Full-disclosure] Persistent XSS and CSRF on network appliance [subject corrected :) ]
    ... all requests to the router's HTTP interface are vulnerable to ... By forging administrative requests ("Administration" button on the ... the administrator's browser has an active authentication session ... default credentials unless a hard reset is performed on using the ...
    (Full-Disclosure)