Domain Account Access with anonymous access enabled
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Domain Account Access with anonymous access enabled




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Domain Account Access with anonymous access enabled  
JavierBolivia


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-26-07 12:17 AM

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 acces
s
the site with their domain account, instead of "IUSR_<machine_name>" (An
asp.net application needs to impersonate the domain users accounts, only whe
n
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?

Thank you in advance.





[ Post a follow-up to this message ]



    Re: Domain Account Access with anonymous access enabled  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-26-07 06:20 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

"JavierBolivia" <JavierBolivia@discussions.microsoft.com> wrote in message
news:2ADDBE84-E80F-49AA-9C9A-BCD4FD444FAC@microsoft.com...
> 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?
>
> Thank you in advance.






[ Post a follow-up to this message ]



    Re: Domain Account Access with anonymous access enabled  
JavierBolivia


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-26-07 06:20 AM

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

"Ken Schaefer" wrote:

> 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
>
> "JavierBolivia" <JavierBolivia@discussions.microsoft.com> wrote in message
> news:2ADDBE84-E80F-49AA-9C9A-BCD4FD444FAC@microsoft.com... 
>
>





[ Post a follow-up to this message ]



    Re: Domain Account Access with anonymous access enabled  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-27-07 06:21 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

"JavierBolivia" <JavierBolivia@discussions.microsoft.com> wrote in message
news:064951EF-C880-418A-8C7E-46526BAE3F68@microsoft.com...[vbcol=seagreen]
> 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
>
> "Ken Schaefer" wrote:
> 






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:36 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register