Prologue:In Part I of this Article, we have seen creation of an application with Forms Authentication i.e. when an application starts it should ask the user to enter login credentials.In this let us discuss about how to create Windows Authentication Application.Preparing Solution:We have already created the project FormsAuthenticatioInLS; use that project to continue the creation of Users, Roles and Permission.Let's confirm the Table has the following columns.Setting Windows Authentication:If the Table is perfect then next check with the Project Properties to confirm that you have selected Use Windows Authentication option.Windows Authentication is recommended if all your users are on a windows domain and you want to trust that whoever is logged into their computer is the same user that is using the application. It means you don't have to provide an additional login form. This is handy because you never have to store or manage passwords outside of Windows itself which makes it very secure, however this is usually only practical if the application is running in a corporate/domain Intranet environment. In Project Properties Windows select Access Control and then select the option Use Windows Authentication.You have two options with Windows Authentication.
Hi everyone,This is jagan . Working as Software Engineer for SDL International. Bengaluru, India.Thanks,Be simple & sample - Jaganhttp://www.iamtechmad.com,
C# Corner. All contents are copyright of their authors.