473,382 Members | 1,611 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,382 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 1751
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...
1
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.