I would like to able to change the way user able to log into windows integrated security instead Forms authentication, so do i have to to disable membership provider ?
or i need only to change in webconfig file and the website will handel and ignore the membership? ,,i just new to mempership provider model.
To enable Windows Authentication within an ASP.NET Application, you should make sure that you have “Integrated Windows Authentication” (formerly called NTLM authentication) enabled within IIS for the application you are building.
You should then add a web.config file to the root directory of your ASP.NET application that contains an <authentication> section which sets the mode to “Windows”.
The below web.config file demonstrates how to configure both steps described above:
Note that the <deny users=”?”/> directive within the <authorization> section above is what tells ASP.NET to deny access to the application to all “anonymous” users to the site (the “?” character means anonymous user). This forces Windows to authenticate
the user, and ensures that the username is always available from code on the server.
Chetan Sarode
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
well but i still need to add these user to roles right ?
the website administration tool dosn't work with me it give error like :
"An error was encountered. Please return to the previous page and try again".
later i did created this manually from user and roles tables and i have noticed that every new user created from withen the tracker website add with 3 roles :
Consultant,ProjectAdministrator,ProjectManager . that is not true case
so is there is now way other WAT tool to creat new roles and it dosnt work to me !!
finaly for membership tables how it going to work with integrated security same as forms based?
plz try to answer every qestion separately guys [:)]
hunter2006
Member
4 Points
15 Posts
windows integrated security instead Forms authentication
May 13, 2008 04:24 PM|LINK
Dear all ,[8-)]
I would like to able to change the way user able to log into windows integrated security instead Forms authentication, so do i have to to disable membership provider ?
or i need only to change in webconfig file and the website will handel and ignore the membership? ,,i just new to mempership provider model.
Updateing Timetracker
SrDhUS
Member
689 Points
108 Posts
Re: windows integrated security instead Forms authentication
May 13, 2008 05:06 PM|LINK
http://msdn.microsoft.com/en-us/library/ms998358.aspx also got all the info you need.
chetan.sarod...
All-Star
65729 Points
11133 Posts
Re: windows integrated security instead Forms authentication
May 14, 2008 03:39 AM|LINK
To enable Windows Authentication within an ASP.NET Application, you should make sure that you have “Integrated Windows Authentication” (formerly called NTLM authentication) enabled within IIS for the application you are building.
You should then add a web.config file to the root directory of your ASP.NET application that contains an <authentication> section which sets the mode to “Windows”.
The below web.config file demonstrates how to configure both steps described above:
Note that the <deny users=”?”/> directive within the <authorization> section above is what tells ASP.NET to deny access to the application to all “anonymous” users to the site (the “?” character means anonymous user). This forces Windows to authenticate the user, and ensures that the username is always available from code on the server.
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
hunter2006
Member
4 Points
15 Posts
Re: windows integrated security instead Forms authentication
May 14, 2008 06:34 AM|LINK
well but i still need to add these user to roles right ?
the website administration tool dosn't work with me it give error like :
"An error was encountered. Please return to the previous page and try again".
later i did created this manually from user and roles tables and i have noticed that every new user created from withen the tracker website add with 3 roles :
Consultant,ProjectAdministrator,ProjectManager . that is not true case
so is there is now way other WAT tool to creat new roles and it dosnt work to me !!
finaly for membership tables how it going to work with integrated security same as forms based?
plz try to answer every qestion separately guys [:)]
Updateing web.config Timetracker
chetan.sarod...
All-Star
65729 Points
11133 Posts
Re: windows integrated security instead Forms authentication
Jun 03, 2008 03:26 AM|LINK
Yes, you need to add these user to roles, because it defines the rigthts to particular users
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
chetan.sarod...
All-Star
65729 Points
11133 Posts
Re: windows integrated security instead Forms authentication
Dec 03, 2008 02:22 AM|LINK
Any updates on this
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
chetan.sarod...
All-Star
65729 Points
11133 Posts
Re: windows integrated security instead Forms authentication
Dec 09, 2008 02:28 AM|LINK
Are you able to solve this one
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.