473,320 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Integrated Windows Authentication

Hi All,
If i log into my windows machine, Iam already
authenticated against the AD, Inorder to identify the Groups, Do i need
to check the Active Directory once again, or Windows Principal.IsInrole
is sufficient.
All the developers are using logon to a particular domain and doing
the work, IF i access one of my developers machine [IIS webserver ],
through my machine , which credentials it take ,will it take mine or
his credentials?

Thnaks in Advance

Thomson

Oct 9 '06 #1
3 1750
How do you access the IIS on the other machine? Assume the "access" means a
web/ASP.NET application running on that computer. In this case, it depends
on how the IIS the the web application is configured. As you may know, the
user account running an ASP.NET could be MachineName\ASPNET,
MachineName\Network Service, or any user account on that computer or in a
network domain if impersonation is enabled.

"thomson" <sa**********@yahoo.comwrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
Hi All,
If i log into my windows machine, Iam already
authenticated against the AD, Inorder to identify the Groups, Do i need
to check the Active Directory once again, or Windows Principal.IsInrole
is sufficient.
All the developers are using logon to a particular domain and doing
the work, IF i access one of my developers machine [IIS webserver ],
through my machine , which credentials it take ,will it take mine or
his credentials?

Thnaks in Advance

Thomson

Oct 9 '06 #2

Hi,
i have enabled Integrated Windows Authentication,disabled
Anonymous and in Identity Impersonate is true,

Any thoughts for this
" If i log into my windows machine, Iam already
authenticated against the AD, Inorder to identify the Groups, Do i
need
to check the Active Directory once again, or Windows
Principal.IsInrole
is sufficient."

Thanks in Advance

Thomson

Norman Yuan wrote:
How do you access the IIS on the other machine? Assume the "access" means a
web/ASP.NET application running on that computer. In this case, it depends
on how the IIS the the web application is configured. As you may know, the
user account running an ASP.NET could be MachineName\ASPNET,
MachineName\Network Service, or any user account on that computer or in a
network domain if impersonation is enabled.

"thomson" <sa**********@yahoo.comwrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
Hi All,
If i log into my windows machine, Iam already
authenticated against the AD, Inorder to identify the Groups, Do i need
to check the Active Directory once again, or Windows Principal.IsInrole
is sufficient.
All the developers are using logon to a particular domain and doing
the work, IF i access one of my developers machine [IIS webserver ],
through my machine , which credentials it take ,will it take mine or
his credentials?

Thnaks in Advance

Thomson
Oct 10 '06 #3
OK, Assume you want to access a ASP.NET app on the other developer's
computer. Based on how you have configured that ASP.NET app:

1. IIS: anonymous access is unchecked and Windows integrated authentication
is checked.

So, yes, your access to that APS.NET app on the developer's computer is
automatically authenticated as long as you log on to your computer. meaning
the ASP.NET on that computer knows that you are who you should be, since you
are a logged on domain user.

2. Since you enabled "impersonation", now that ASP.NET will run, using your
identity when you send request to it. So, you do not need to check who the
user is.

Tip: you could verify which user account is actually used for a ASP.NET,
like this (add a lable to a blank page in a ASP.NET app):

private void Page_Load(....)
{
Label1.Text=this.Context.User.Identity.Name + " is the running user
account for this ASP.NET app!";

''Or
''Label1.Text=Page.User.Identity.Name + " is the running user account
for this ASP.NET app!";
}


"thomson" <sa**********@yahoo.comwrote in message
news:11**********************@k70g2000cwa.googlegr oups.com...
>
Hi,
i have enabled Integrated Windows Authentication,disabled
Anonymous and in Identity Impersonate is true,

Any thoughts for this
" If i log into my windows machine, Iam already
authenticated against the AD, Inorder to identify the Groups, Do i
need
to check the Active Directory once again, or Windows
Principal.IsInrole
is sufficient."

Thanks in Advance

Thomson

Norman Yuan wrote:
>How do you access the IIS on the other machine? Assume the "access" means
a
web/ASP.NET application running on that computer. In this case, it
depends
on how the IIS the the web application is configured. As you may know,
the
user account running an ASP.NET could be MachineName\ASPNET,
MachineName\Network Service, or any user account on that computer or in a
network domain if impersonation is enabled.

"thomson" <sa**********@yahoo.comwrote in message
news:11*********************@e3g2000cwe.googlegro ups.com...
Hi All,
If i log into my windows machine, Iam already
authenticated against the AD, Inorder to identify the Groups, Do i need
to check the Active Directory once again, or Windows Principal.IsInrole
is sufficient.
All the developers are using logon to a particular domain and doing
the work, IF i access one of my developers machine [IIS webserver ],
through my machine , which credentials it take ,will it take mine or
his credentials?

Thnaks in Advance

Thomson

Oct 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ravikanth[MVP] | last post by:
Hi It is possible that IIS and SQL Server can reside on Seperate Machines and you can use Integrated Windows Authentication to connect. Ravikanth >-----Original Message-----
9
by: Tom B | last post by:
In my web.config file I've specified Windows for the authentication, in IIS I've set it to Integrated Authentication. But my SQL connection is still showing Anonymous. Is there somewhere else I...
4
by: Andrew | last post by:
Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation, the more advanced stuff is still a challenge. Ok....
3
by: Patrick.O.Ige | last post by:
Hi folks, How can i pass credentials to windows integrated authentication. I want to use my credentials from windows authentication and pass it on to different asp.net and asp pages without having...
5
by: cdlipfert | last post by:
Our intranet is running under windows integrated security. We have domain users that want to access our intranet site via ssl vpn. SSL VPN can not authenticate against services that run under...
2
by: Amedee Van Gasse | last post by:
Hello, Since it is the first time I'm posting in these groups, I believe a (short) introduction of myself would not be a bad thing. I am mainly a support engineer, not a programmer. I do have...
2
by: Dariusz Tomon | last post by:
I got an ASPNET C# project from client. When I'm trying to open it in Visual Studio I get error message: "Unable to start debugging on the web server. Debugging failed because integrated Windows...
3
by: =?Utf-8?B?RGFuZGFuIFpoYW5n?= | last post by:
Now I have a web application, a web service and a SQL Server database. The Web application will invoke the web service, the web service invokes the SQL Server stored procedure. I let the web...
2
by: zanzibar | last post by:
I need to develop an intranet app that uses Windows Authentication with IIS set up for Windows Integrated Authentication. The problem is that I want to force a challenge (i.e., force the user to...
11
by: benoitc | last post by:
I've been having a problem debugging an ASP.NET 1.1 application on an existing Windows XP/Visual Studio 2003 workstation that I've inherited from somebody else. The application builds fine, but...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.