The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: redskull on February 01, 2011, 02:13:35 PM

Title: Integrated Windows Authentication
Post by: redskull on February 01, 2011, 02:13:35 PM
Several Microsoft sever products (SQL Server, IIS) have an option for "integrated windows authentication", wherein the users existing Windows account credentials are used in place of a seperate login/password set.  Does anyone know how this is implemented, or how someone would use it in their own software?  Is there some sort of standard on API, or is it all just done in the application in a custom way?  I can't find any programming information, other than configuration guides for the specific programs.

-r
Title: Re: Integrated Windows Authentication
Post by: redskull on February 01, 2011, 03:30:56 PM
Found it myself (I think), you would use the SSPI API:

http://msdn.microsoft.com/en-us/library/aa374731(v=VS.85).aspx#sspi_functions