RE: Using AD to grant page and directory accesss
- From: jc <jobs@xxxxxxxxxx>
- Date: Sat, 1 Mar 2008 05:30:18 -0800 (PST)
RE: Using AD to grant page and directory accesss
For intranet development.. is there anything terribly wrong with
authenticating users/pages against AD groups to determine what pages,
menus,
features they should be allowed to see and use?
Why the practice using of cookies and session data when testing pages?
And what does role does a directory web config play in AD
authenticated intranet sites?
Would there be any valid reason for asking users to re-enter their AD
user and PW for every intranet Application to confirm they are in the
AD rather than just testing the security of the windows user and AD
role with the
below code or in each directories web.config? Any benefit to caring
around a cookie or Session with
something that is then used to confirm they were authenticated at some
point in the session? What the value of this beyond allowing one user
to authenticate in an intranet site while windows is authenticated as
another user? And is there no risk to session or cookie that could be
easily read and replicated to fool the site?
Whats the best and/or most common practice for intranet website
security?
code:
If (Page.User.IsInRole("XXXADMIN")) Then
web.config (not working for AD or windows security):
<system.web>
<authentication mode="Windows"/>
<authorization>
<allow roles="XXXADMIN" />
</authorization>
</system.web>
For web.config, apparently, roles only apply to membership (aspnetdb)
secuirty and not AD security. Is there any way to set directory
security in the webconfig to check AD groups? Understanding this will
only be for intranet applications where users are expected to be
windows AD authenticated.
Thanks.
.
- Follow-Ups:
- Re: Using AD to grant page and directory accesss
- From: Joe Kaplan
- Re: Using AD to grant page and directory accesss
- Next by Date: Re: Using AD to grant page and directory accesss
- Next by thread: Re: Using AD to grant page and directory accesss
- Index(es):
Relevant Pages
|