In an existing C#.net 2008 desktop application, my company wants me to add active directory to the application. To accomplish this task, I was thinking of accomplishing this task in one of three maners. I am wondering if you can tell me which method is better and why. Also if you have another suggestion, can you tell me what the better method would be. Here are my options:
1. I could have the users click on a shortcut to the exe to get the application started. By using windows authenication, the application would know who the user is. If the user does not have the access, the user would be taken out of the exe with a popup saying 'they do not have access to the to this application and they should contact the 'administrator'.
2. The user can enter their user name and credentials in a logon screen. If the user does not have access to the application, the user would be redirected to a popup saying 'they do not have access to the to this application and they should contact the 'administrator'.
3. The user can open on the C#.net 2008 desktop application and click on the part of the desktop they want to run. By using windows autehnication and/or active directory the application will be determine if the user has the access to run a certain feature of the application. If they do not have the access, the user redirected to a popup saying 'they do not have access to the to this application and they should contact the 'administrator'.