ASP.net authentication issue

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

Hi

My IIS is running on a domain server and requires authentication for all AD
users to access my application. I would like to have my application to
access some of the resources (e.g Event logs) on a remote server, which is
on the same domain as the IIS server. Can I use the authenticated user
account to acess other servers in the application instead of using the
default IIS ASP account (since this account do not have sufficient rights on
all other servers) ? In that case, access rights can depends on the
Authenticated user.

Thanks
Peter
 
Hi

My IIS is running on a domain server and requires authentication for
all AD users to access my application. I would like to have my
application to access some of the resources (e.g Event logs) on a
remote server, which is on the same domain as the IIS server. Can I
use the authenticated user account to acess other servers in the
application instead of using the default IIS ASP account (since this
account do not have sufficient rights on all other servers) ? In
that case, access rights can depends on the Authenticated user.

If you log the person into your site (which can be done without a log in
screen with proper permissions), you can impersonate the user to get at
other resources.

The event log may be tricky, however, even with a domain user. This is
not guaranteed, as I have not done it, but I have found that contacting
resources outside of IIS is tricky, esp. on other machines.

If you end up with a problem, you could potentially set up a windows
service on the IIS box and call to it for the information. A simply WCF
service end for the windows service can save you tons of heartache. Take
the time to spec this out completely before starting the work, as you
need to really think through this type of system.

Good luck!


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Hi Gregory

I currently have no problem getting the logs from the server running the IIS
but do not know what to start with when trying to connect to other machines
on the same domain. Any suggestion on how to start with ? I have
impersonate set to true in the web.config and have no problem getting the
authenticated users' information.

Thanks
Peter
 
Back
Top