ASP.NET/IIS Security (Windows Authentication)

It will probably turn out to be a doozie.

I am developing an application in ASP.NET for posting on our company website. I received a safety data sheet and do not know how to do this.

The first part: the application must use Windows authentication. This part seems simple enough; I opened IIS in "Administration", right-click on the node of my site, properties and checked "Integrate Windows Authentication". However, I have no idea how I will manage someone who has access to my site. I think this should be taken care of at the database level. This is Q # 1

The second part of. I need to execute the process for the following scenario: a Jane user can log into our network, but does not have the right to my application. User "Bob" has the right to use my application. Bob needs to be able to sit on Jane’s computer (under her network account), but to be able to enter his credentials into my application and use it (even if Jane logs on to the local machine and network). This is Q # 2

Any help, general guidance or advice would be appreciated. Winning lottery numbers will be appreciated even more.

Thank,

Jason

+5
source share
3 answers

You are looking for Windows authentication and authorization in ASP.NET

2... , . . , Active Directory. MSDN

ASP.NET Windows, IIS. , ISAPI , Active Directory. WindowsPrincipal.

+4

.

:
: (, //)

Windows , "-signon". "" ID .

, . , .

Windows. . :

http://msdn.microsoft.com/en-us/library/ms180890(v=vs.80).aspx

, . - HttpContext.User. .

+2

Also found this is a pretty good resource for everyone in the same boat:

Mixing Windows Forms and Security in ASP.NET

http://msdn.microsoft.com/en-us/library/ms972958.aspx

0
source

All Articles