Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > ADS IIS Integration

Reply
Thread Tools

ADS IIS Integration

 
 
Travis A. Clark
Guest
Posts: n/a
 
      11-18-2004
Okay, maybe I'm just not seeing things correctly.
I have an asp.net web application (framework 1.1) that only five
people in the ProjectManager AD Group are supposed to see.
I have the following issues:

Even though I have:
<authentication mode="Windows" />
<authorization>

<allow users="DOMAIN\ProjectManager" />
<deny users="*"/>
</authorization>
in my web.config, and I believe the correct IIS settings (Windows
2000, IIS 5.0, anonymous off, Basic and Windows on)

Anyone in the domain may login and see it. What am I missing?

Secondly, anyone know where a good tutorial is on logging in
automatically. In other words, I want to check their AD credentials
automatically, and if they are in the ProjectManager group, go ahead
and redirect. Else prompt for the logon.

Thanks for the time.

Travis A. Clark
 
Reply With Quote
 
 
 
 
Joe Kaplan \(MVP - ADSI\)
Guest
Posts: n/a
 
      11-18-2004
This should work. The first thing I would check is whether the users who
shouldn't be allowed access are in the role or not. You can do
Context.User.IsInRole("DOMAIN\ProjectManager") to determine that.

If that fails as expected, but users are still being granted access, then it
might be that the UrlAuthorizationModule has been removed from the list of
HttpModules.

HTH,

Joe K.

"Travis A. Clark" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Okay, maybe I'm just not seeing things correctly.
> I have an asp.net web application (framework 1.1) that only five
> people in the ProjectManager AD Group are supposed to see.
> I have the following issues:
>
> Even though I have:
> <authentication mode="Windows" />
> <authorization>
>
> <allow users="DOMAIN\ProjectManager" />
> <deny users="*"/>
> </authorization>
> in my web.config, and I believe the correct IIS settings (Windows
> 2000, IIS 5.0, anonymous off, Basic and Windows on)
>
> Anyone in the domain may login and see it. What am I missing?
>
> Secondly, anyone know where a good tutorial is on logging in
> automatically. In other words, I want to check their AD credentials
> automatically, and if they are in the ProjectManager group, go ahead
> and redirect. Else prompt for the logon.
>
> Thanks for the time.
>
> Travis A. Clark



 
Reply With Quote
 
 
 
 
Patrick.O.Ige
Guest
Posts: n/a
 
      11-26-2004
Travis..
Your Solution is for sure solvable...
I have used forms Auth and Windows Auth(validating against Active Directory)
for
this before...
Try looking at this artcilse at:-
http://support.microsoft.com/default...;EN-US;Q316748
for forms Auth?
Hope it helps..
Patrick


"Travis A. Clark" wrote:

> Okay, maybe I'm just not seeing things correctly.
> I have an asp.net web application (framework 1.1) that only five
> people in the ProjectManager AD Group are supposed to see.
> I have the following issues:
>
> Even though I have:
> <authentication mode="Windows" />
> <authorization>
>
> <allow users="DOMAIN\ProjectManager" />
> <deny users="*"/>
> </authorization>
> in my web.config, and I believe the correct IIS settings (Windows
> 2000, IIS 5.0, anonymous off, Basic and Windows on)
>
> Anyone in the domain may login and see it. What am I missing?
>
> Secondly, anyone know where a good tutorial is on logging in
> automatically. In other words, I want to check their AD credentials
> automatically, and if they are in the ProjectManager group, go ahead
> and redirect. Else prompt for the logon.
>
> Thanks for the time.
>
> Travis A. Clark
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Block unwanted flash ADs? also broken pop up blocker Impmon Firefox 3 06-15-2005 03:05 AM
Ads displayed in FF "shake" since update Randy D. Firefox 1 03-30-2005 09:00 PM
Firefox hangs/slow load - especially on web ads - help! iDAHOPRiME Firefox 2 01-06-2005 12:58 PM
iis smtp service vs exchange server integration with aspx Rea Peleg ASP .Net 0 08-03-2004 11:33 PM
Blocking ads and cookies from doubleclick ratbob Firefox 4 05-31-2004 12:45 PM



Advertisments