Why does Windows/Integrated Authentication in IIS not pass user credentials to SSRS and SQL?

后端 未结 2 1990
庸人自扰
庸人自扰 2020-12-15 12:12

Issue: In ASP.NET 4.0, I use my SSRS 2005 server\'s ReportService2005.asmx web service to get a list of reports. Also in .NET, I use Entity Fra

2条回答
  •  情歌与酒
    2020-12-15 13:09

    You also need to be aware of the 'double hop' issue - this means that your credentials can only be used twice.

    If you are accessing a website using Windows Authentication and impersonation, that website can call another service as you. If that other service is another website (i.e. Reporting Services) which in turn calls another service (e.g. database) it cannot pass your credentials on again. This means that the database will throw an error if it expects credentials from the user.

提交回复
热议问题