Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Question about active directory membership and login controls

$
0
0

Hello, i am developing a small asp.net app that extracts some data from our payroll database and shows it to the user. The problem is that the data is sensitive therefore it must be secured with username and password.

I want the username and password to link to active directory, but there's an issue: a very important field (employee id) is not available from active directory. How would i use active directory to handle logins to the app while making this field available.

So i would need for each user to "create an account" and introduce their employee id in order for it to get saved in a database.

Currently i am using a SqlMembershipProvider and force all users to create a user, with the username being the numeric employee id, but that forces the user to yet remember another user id and password which is something we want to avoid (there are too many systems in place, each with their own username and password, and the employee forgets them)

How would i make the app login with active directory's username and pass while also having this id available automatically?


Viewing all articles
Browse latest Browse all 4737

Trending Articles



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