Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Authentication/Autiorization - using token sso/and SQL server hosted web app (C#/ MVC 4/ backbone.js) app roles and permissions

$
0
0

Im in a very large enterprise organization where communication is filtered thru many mgmt layers, so being able to find out who to talk to is one thing, and having them give answers in another.  We have designed a version 3.0 web app in Visual Studio 2012 (MVC 4, .Net 4, html/javascript/linq and C# form edmx backbone.js models) with the app having a SQL account

Right now, if users are authenticated on the network (using a token) they can access the web app. The app has 1 account for the SQL server. We need to open this up for other users within the org and assign read only. or write/edit based upon their department (active directory?).  e.g.  we do not want to have a user login page, and want to rely on network authentication, and have Dept Leaders determine roles for who can enter data, approve data, and assign roles within the app.

I understand the roles tables, but my immediate crisis is how to connect to AD dynamically to obtain users full names, titles, divisions, and phone#?  Is this done thru a windows specific library/dll to add?  or is this something for the DBA to manage?  Know of any good sample code?  Obviously, I needed this information yesterday and feel a bit over my head.  Any help or direction would be appreciated.

 -Tracy



Viewing all articles
Browse latest Browse all 31927

Trending Articles



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