ASP.net authentication issue

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
 
G

Gregory A. Beamer

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!
 
P

Peter

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top