HighTechTalks DotNet Forums  

Impersonation in non domain member server

Dotnet Security microsoft.public.dotnet.security


Discuss Impersonation in non domain member server in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Johann Granados
 
Posts: n/a

Default Impersonation in non domain member server - 02-19-2007 , 07:08 PM






Hi everybody,

I'm developing an ASP.NET application which calls business components in a
remote server located at the DMZ (this is, a non domain member server). The
problem I'm facing is that because the server is not a domain member, it is
not able to access the active directory in order to authenticate the
impersonated user. Does anybody know another approach to do impersonation in
a non domain member server?

Thank in advance for your help!!!

Johann Granados
Costa Rica, Central America

Reply With Quote
  #2  
Old   
Henning Krause [MVP - Exchange]
 
Posts: n/a

Default Re: Impersonation in non domain member server - 02-22-2007 , 05:19 PM






Hello,

when you are using System.DirectoryServices.DirectoryEntry, you can pass
along custom credentials in the constructor. No need for impersonation.

Best regards,
Henning Krause


"Johann Granados" <JohannGranados (AT) discussions (DOT) microsoft.com> wrote in
message news2195796-4F63-457F-8E84-9EC94335183B (AT) microsoft (DOT) com...
Quote:
Hi everybody,

I'm developing an ASP.NET application which calls business components in a
remote server located at the DMZ (this is, a non domain member server).
The
problem I'm facing is that because the server is not a domain member, it
is
not able to access the active directory in order to authenticate the
impersonated user. Does anybody know another approach to do impersonation
in
a non domain member server?

Thank in advance for your help!!!

Johann Granados
Costa Rica, Central America


Reply With Quote
  #3  
Old   
Johann Granados
 
Posts: n/a

Default Re: Impersonation in non domain member server - 02-23-2007 , 02:43 PM



Hi Henning,

Thanks for your kind reply. I need to impersonate the user in order for it
to be able to access some resources on behalf the impersonated account. I
think using DirectoryServices is not a suitable case here (unless we
implement our own rights management system, or am I wrong?)

Best regards
--
Johann Granados

"Henning Krause [MVP - Exchange]" wrote:

Quote:
Hello,

when you are using System.DirectoryServices.DirectoryEntry, you can pass
along custom credentials in the constructor. No need for impersonation.

Best regards,
Henning Krause


"Johann Granados" <JohannGranados (AT) discussions (DOT) microsoft.com> wrote in
message news2195796-4F63-457F-8E84-9EC94335183B (AT) microsoft (DOT) com...
Hi everybody,

I'm developing an ASP.NET application which calls business components in a
remote server located at the DMZ (this is, a non domain member server).
The
problem I'm facing is that because the server is not a domain member, it
is
not able to access the active directory in order to authenticate the
impersonated user. Does anybody know another approach to do impersonation
in
a non domain member server?

Thank in advance for your help!!!

Johann Granados
Costa Rica, Central America



Reply With Quote
  #4  
Old   
Dominick Baier
 
Posts: n/a

Default Re: Impersonation in non domain member server - 02-23-2007 , 03:14 PM



Hi,

first of all you are not forced to use auto impersonation (in config) - you
can always manually impersonate before you are doing the resource access...

or

undo impersonation temporarily when talking to resources that are not "compatible"
with impersonation

sounds reasonable?


-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

Quote:
Hi Henning,

Thanks for your kind reply. I need to impersonate the user in order
for it to be able to access some resources on behalf the impersonated
account. I think using DirectoryServices is not a suitable case here
(unless we implement our own rights management system, or am I wrong?)

Best regards

"Henning Krause [MVP - Exchange]" wrote:

Hello,

when you are using System.DirectoryServices.DirectoryEntry, you can
pass along custom credentials in the constructor. No need for
impersonation.

Best regards,
Henning Krause
"Johann Granados" <JohannGranados (AT) discussions (DOT) microsoft.com> wrote in
message news2195796-4F63-457F-8E84-9EC94335183B (AT) microsoft (DOT) com...

Hi everybody,

I'm developing an ASP.NET application which calls business
components in a
remote server located at the DMZ (this is, a non domain member
server).
The
problem I'm facing is that because the server is not a domain
member, it
is
not able to access the active directory in order to authenticate the
impersonated user. Does anybody know another approach to do
impersonation
in
a non domain member server?
Thank in advance for your help!!!

Johann Granados
Costa Rica, Central America



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.