authentication - How do you implementing authorization on a local website (intranet) using active directory in the .net framework? -


a simple website has been created. going implemented in companies network users can access , edit data. group of users (security group) has been created have access system.

now selection mechanism "manage access" used admin pull allowed users database , admin can decide users have access content or page.

ie. authorized users can access pages authorized them example user "jake" production manager , should able access product production page, data entry sql occur.

so each user able access 1 or more pages. how solution implemented using asp.net , active directory. authentication windows not forms.

the users have access particular page stored in respective tables of database. have looked iis , seems iis manager can limit access based on active directory , have mentioned can controlled via iis , there no need "manage access" page, right? except list of allowed users stored can used iis

if not how go allowing , disallowing (displaying , not displaying) different webpages on website based on active directory. asp.net code helpful. if i'm way out of line please say. thanks.

check out link details on how @ windows user credentials asp.net (http://msdn.microsoft.com/en-us/library/ff647405.aspx#paght000025_authorizingwindowsusers)

short , simple at: user.identity.name should give username (e.g. \

from there can setup web.config files allow / disallow pages or use custom logic determine pages can been viewed.


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -