G
Gianluca Torta
Hi all,
I know this issue has already been discussed in several threads of the
newsgroup and I read several of them
However, I would appreciate very much to have suggestions specific to
my particular scenario.
I have an ASP.NET application MYAPP running on machine MYMACH
Such application needs to access a remote database MYDB and a remote
Web Service MYSVC using the credentials of a specific Windows User
MYMACH\MYUSER (i.e. a user local to MYMACH)
The use of <identity impersonate="true"> in the Web.config file seems
to fail for the reasons explained in other threads, i.e. impersonation
only works for accessing resources local to MYMACH
I would like to avoid using delegation and serviced components, since
they seem quite complicated to set up.
Similarly, I would like to avoid calling LogonUser() because it is a
non-managed API and moreover other threads report that many users had
problems using it.
My question is then: how is it possible to get what I want (which
seems very simple) in a simple way?
And, if there is no such "simple way", what is the best way among
delegation, serviced components, LogonUser() etc. etc.?
Many thanks in advance!
-Gianluca
I know this issue has already been discussed in several threads of the
newsgroup and I read several of them
However, I would appreciate very much to have suggestions specific to
my particular scenario.
I have an ASP.NET application MYAPP running on machine MYMACH
Such application needs to access a remote database MYDB and a remote
Web Service MYSVC using the credentials of a specific Windows User
MYMACH\MYUSER (i.e. a user local to MYMACH)
The use of <identity impersonate="true"> in the Web.config file seems
to fail for the reasons explained in other threads, i.e. impersonation
only works for accessing resources local to MYMACH
I would like to avoid using delegation and serviced components, since
they seem quite complicated to set up.
Similarly, I would like to avoid calling LogonUser() because it is a
non-managed API and moreover other threads report that many users had
problems using it.
My question is then: how is it possible to get what I want (which
seems very simple) in a simple way?
And, if there is no such "simple way", what is the best way among
delegation, serviced components, LogonUser() etc. etc.?
Many thanks in advance!
-Gianluca