Network credentials with Assembly.LoadFrom

Discussion in 'ASP .Net Security' started by Mayo, Sep 13, 2006.

  1. Mayo

    Mayo Guest

    I load an assembly with the following code:

    Assembly assemblyContent = Assembly.LoadFrom("http://www.mysite.com");

    Everything works fine, but if under IIS MMC Directory Security I disable
    "Anonymous Access" and I flag "Basic authentication" then I'm asked for
    network credential with a loggin form.

    How can I avoid this?
    Is there a way to pass to Assembly.LoadFrom some network credentials?
     
    Mayo, Sep 13, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. wolf
    Replies:
    4
    Views:
    7,902
    dcushnie
    Sep 11, 2006
  2. Timothy Parez

    Assembly.LoadFrom() & GAC

    Timothy Parez, Feb 22, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    1,668
    Timothy Parez
    Feb 22, 2004
  3. posthumecaver
    Replies:
    0
    Views:
    345
    posthumecaver
    Aug 22, 2003
  4. Henrik de Jong

    Assembly.LoadFrom(...)

    Henrik de Jong, Jul 8, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,976
    Natty Gur
    Jul 8, 2004
  5. Oenone
    Replies:
    0
    Views:
    550
    Oenone
    Jul 11, 2005
Loading...

Share This Page