homepage Welcome to WebmasterWorld Guest from 54.196.62.132
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
Windows Domain User Account
How to retrieve it?
Mr_Brutal




msg:945854
 4:18 pm on Feb 23, 2005 (gmt 0)

Hello all,

I've been looking at this all afternoon and have been unable to find any ideas at all, so I thought as a last attempt i'd bother you guys!

Basically I have an application that both external users and internal(intranet) users will be acccessing. I want to be able to find out whether or not the user is logged on with a Windows account to our companys domain na dif they are redirect to one page. All external users are directed to another page.

Im aware of LOGIN_USER and AUTH_USER, the problem is that I don't want external users to have to logon to the application. I don't want them to even realise that it can flow in a different way. They only way to retrieve the server variables above is by disabling anonymous access in IIS which is exactly what I want to keep!

Any ideas would be appreciated!

Cheers, Mr (looking at the snow wishing I could go sledging instead) Brutal

 

TheNige




msg:945855
 8:07 pm on Feb 23, 2005 (gmt 0)

Sorry, but I don't think you can do it...that is why there is the setting for anonymous and NT authentication. You could check the IP address of the users...you should know what your internal network ip's are and then you could determine who is internal or not.

aspdaddy




msg:945856
 8:13 pm on Feb 23, 2005 (gmt 0)

If I were you I wouldnt publish the Intranet to the outside world, I'd have two application servers, 1 Extranet in a DMZ, & 1 intranet and just manually replicate the application.

Mr_Brutal




msg:945857
 10:15 am on Feb 24, 2005 (gmt 0)

Cheers guys.

Checking the IP address was one of the options I came up with, the only drawback is that only some of the internal users will be sent one way (the authorized ones) while others will be treated like external users. As IP addresses are allocated dynamically and the users who will be authorized will be a constantly changing group it won't be trivial. We may have to set up some Pc's with static IP addresses.

As for splitting the Application - yeah - thats what id do as well :-)

Not my decision though.

Cheers again.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved