OneWay and Impersonate problem

Discussion in 'ASP .Net Web Services' started by Davide Bedin, Jul 13, 2005.

  1. Davide Bedin

    Davide Bedin Guest

    Working on VS 2005 Beta 2

    In my web service I impersonate a specific user with limited rights using
    the <identity impersonate="true" userName="someone" password="something"/>
    in the web.config.
    Everything works as expected. The web service has access to the SQL db using
    integrated security.

    If I enable the OneWay property of SoapDocumentMethod attribute for a web
    method the web service is no longer impersonating the user so any attempt to
    access secured resources fails.

    Is this beaviour by design? How can I use OneWay property without having to
    change my choices on security?

    Thanks in advance,
    Davide Bedin
    Davide Bedin, Jul 13, 2005
    #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. Bill Belliveau

    DirectoryEntry Impersonate or WindowsIdentity Impersonate?

    Bill Belliveau, Jan 28, 2004, in forum: ASP .Net Security
    Replies:
    3
    Views:
    321
    Joe Kaplan \(MVP - ADSI\)
    Jan 31, 2004
  2. Chris

    [SoapRpcMethod(OneWay=true)] problem

    Chris, Jul 9, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    217
    Chris
    Jul 9, 2003
  3. Keith McDonald

    Odd problem with a oneway webservice

    Keith McDonald, Jan 25, 2006, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    131
    m.posseth
    Jan 29, 2006
  4. John Bailey
    Replies:
    3
    Views:
    531
    John Bailey
    Mar 9, 2007
  5. Jesse Houwing

    SoapDocumentMethod and oneway=true

    Jesse Houwing, Apr 26, 2007, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    139
    Jesse Houwing
    Apr 26, 2007
Loading...

Share This Page