all groups > iis security > may 2007 >
You're in the

iis security

group:

Domain Account Access with anonymous access enabled


Domain Account Access with anonymous access enabled JavierBolivia
5/25/2007 3:38:00 PM
iis security: Hello IIS gurus,

Never mind the reason, but I need to configure a virtual directory with
anonymous access enabled (it's accesed by both domain users and non-domain
users in an intranet), but the users that do belong to the domain must access
the site with their domain account, instead of "IUSR_<machine_name>" (An
asp.net application needs to impersonate the domain users accounts, only when
it is in fact a domain users that is accessing the application).

I'm almost certain it's not posible but, just in case, I might just ask the
experts.

Is it posible?

Re: Domain Account Access with anonymous access enabled JavierBolivia
5/25/2007 9:31:02 PM
Hi Ken, thank you for replying. Is there a way to do what you specified
(redirecting based on the nature of the user) in IIS, or what you meant was
to do it by writing code in the application to acomplish it? I've asked some
people about how to do it in IIS by haven't find out how.

Thank you again.
Javier

[quoted text, click to view]
Re: Domain Account Access with anonymous access enabled Ken Schaefer
5/26/2007 12:00:00 AM
In general this is not possible.

You could create two virtual directories that point to the same content.
Enable anonymous on one, and IWA on the other. (Re)Direct the user to the
appropriate virtual directory based on whether they are an internal or
external user...

Cheers
Ken

--
My IIS Blog: www.adOpenStatic.com/cs/blogs/ken

[quoted text, click to view]
Re: Domain Account Access with anonymous access enabled Ken Schaefer
5/27/2007 12:00:00 AM
Hi,

You need to tell us how you would identify these two types of users first
:-)

For example is there a range of IP addresses that internal users use, and
external users use different IP addresses? If so, a piece of code can do the
necessary redirection for you.

Cheers
Ken

[quoted text, click to view]
AddThis Social Bookmark Button