Disable impersonation programmatically?

Discussion in 'ASP .Net Security' started by Tobias Lekman, Nov 3, 2003.

  1. Hi,

    I have an issue with Indexing service and impersonation,
    namely that Indexing service do not work properly with

    <identity impersonate="true" />

    I am using this parameter for different access levels for
    WRITE access and am using trusted sql connections,
    therefore I do not want to disable impersonation.

    The question is: is there a way to programmatically,
    within the code-behind or class file, to disable
    impersonation and execute using the anonymous or system
    account??

    The only way I found around this was to create a web
    service as a wrapper for the indexing service calls, which
    is not very elegant at all.

    Any ideas would be deeply appreciated.

    Tobias
     
    Tobias Lekman, Nov 3, 2003
    #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. Kelly D. Jones

    Problem with impersonation and delegation

    Kelly D. Jones, Sep 4, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,829
  2. Dave Caton
    Replies:
    7
    Views:
    8,054
    =?Utf-8?B?SWJyYWhpbSBTaGFtZWVxdWU=?=
    Jul 15, 2004
  3. =?Utf-8?B?amVzdGVy?=
    Replies:
    1
    Views:
    474
    Patrice
    Sep 23, 2004
  4. itmanager

    Setting impersonation values programmatically

    itmanager, Sep 14, 2006, in forum: ASP .Net Security
    Replies:
    1
    Views:
    458
    Joe Kaplan
    Sep 14, 2006
  5. bob
    Replies:
    9
    Views:
    334
    Joe Kaplan
    Nov 14, 2006
Loading...

Share This Page