Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

web application using windows authentication

$
0
0

my web application allows users to edit the db records. but the records need to show who edits the records.

1. there are users a, b, c, ... who can login the web pages

2. when the db is edited, a field in the table shows the user who logged in this page made the changes.

my problem is users a, b, c,... can log in and made changes, but that field shows users always has "NT Authority\Network Service" no matter who logged in.

I searched and some reference said I need to change web.config like:

<identity impersonate="true"> but it does not help.

my IIS Application Pool set "identity" is "NETWORK SERVICE" I tried to use custom setting to an account, it works but that field changed to the custom account no matter who logged in which is similar to build-in account.

Any help is appreciated. 


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>