Click here to Skip to main content
15,907,328 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Plz tell me what is windows authentication and difference between form authentication and windows authentication
Posted
Comments
Varun Sareen 21-Feb-12 5:54am    
always enable yourself to search google first
AmitGajjar 21-Feb-12 6:09am    
Correct.

Kerberos is a protocol that allows the web server to delegate the credentials the client has authenticated with. This is important when the web server accesses any other services which require authentication (typically SQL,AD, another app, web services,etc). Now you've mentioned of using RSS viewer. So most likely when IIS uses Windows (kerberos) the logged in credentials of the client is used as the identity when connecting to RSS service. But when using forms authentication, IIS doesn't know what the credentials the client has logged in with (this is known only in the application). Therefore a request to RSS service would now go as Anonymous(IUSR_machine) or Network Service account which the RSS service doesn't authenticate, hence giving u the 401 errors.

So when using forms authentication, you've to add code to make sure the thread accessing the RSS service goes under the identity of the caller (client). This is done with concept called protocol transition

http://msdn.microsoft.com/en-us/library/ms998355.aspx[^]
 
Share this answer
 
Please try these links:-

Windows Authentication[^]

What is form authentication?
Forms authentication enables you to identify users with a custom database such as an ASP.NET membership database. Alternatively you can implement your own custom database. Once authenticated you can reference the roles the user is in to restrict access to portions of your Web site.

Different is quite simple as in Windows authentication mode users will be granted access according to their user rights which you have in windows.when it comes to form based authentication method you do have to Forcibly grant access for users for each forms
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900