Re: httpwebrequest when RSA/ACE securid server is involved

From: Feroze [msft] (ferozed_at_online.microsoft.com)
Date: 03/24/05


Date: Wed, 23 Mar 2005 18:51:17 -0800

I am not familiar with RSA/ACE authentication. But, I can tell you why your
current app wont work. IE & HTTPWebRequest have their own connection
management semantics. They do not share connections. So, once you get
authenticated with IE, that connection is not available to the
HttpWebRequest instance you are using.

You will have to replicate the same authentication into the HttpWebRequest
that IE is doing. Is it doing SSL based authentication? If so, you might be
able to get that to work using webrequest. However just setting
DefaultCredentials wont work.

-- 
feroze
-----------------
This posting is provided as-is. It offers no warranties and assigns no
rights.
See http://weblogs.asp.net/feroze_daud for System.Net related posts.
----------------
"shib" <ilanshib@bezeqint.net> wrote in message
news:4241dbc0@news.bezeqint.net...
> Hello,
>
> I have an assembly, written in C#.
>
> The assembly runs under IE (6.0 SP1).
>
> IE accesses a web site on which a reverse proxy with an RSA/ACE secureid
is
> installed.
>
> When this happens an authentication process takes place and after its
> completion, the web request goes through and completes successfuly.
>
> Naturally, any further http requests to the same site will not have to
> re-authenticat.
> However, my C# assembly runs under IE and tries to invoke an http request
> via the standard httpwebrequest class.
> I am setting
>
> HttpWebRequest.Credentials = CredentialCache.DefaultCredentials
>
> still, it does not help.
>
> Any idea what I am missing here?
>
> Thanks,
> Ilan
>
>


Relevant Pages

  • understanding chkrootkit: sshd section
    ... Rhosts Authentication disabled, originating port will not be trusted. ... Secure connection to %.100s on port %hu refused%.100s. ... Warning: Remote host refused compression. ... Received RSA challenge from server. ...
    (comp.os.linux.security)
  • understanding chkrootkit: sshd section
    ... Rhosts Authentication disabled, originating port will not be trusted. ... Secure connection to %.100s on port %hu refused%.100s. ... Warning: Remote host refused compression. ... Received RSA challenge from server. ...
    (comp.security.unix)
  • (fwd) FreeBSD Security Advisory FreeBSD-SA-01:39.tcp-isn (fwd)
    ... susceptible to attack than other unencrypted sessions. ... > incoming connection is being established, ... > All versions of FreeBSD 3.x and 4.x prior to the correction date ... > requiring other authentication of the originator are vulnerable to ...
    (FreeBSD-Security)
  • Re: understanding chkrootkit: sshd section
    ... Connection will not be encrypted. ... > Rhosts Authentication disabled, originating port will not be trusted. ... > Could not request local forwarding. ... Remote host failed or refused to allocate a pseudo tty. ...
    (comp.security.unix)
  • Re: understanding chkrootkit: sshd section
    ... Connection will not be encrypted. ... > Rhosts Authentication disabled, originating port will not be trusted. ... > Could not request local forwarding. ... Remote host failed or refused to allocate a pseudo tty. ...
    (comp.os.linux.security)