We have hundreds of SSRS 2005 reports in an ASP.Net 2.0 application. We are using following Javascript for rendering the report
window.location.href = url;
Url Example
http://aaa88/ReportServer/Pages/ReportViewer.aspx?/InventoryTracking/Receiving/MyReport&rs:Command=Render&rc:Parameters=false&Emp="20"
Example: Generate report from URL - SQL Server Reporting Services 2008
By typing the url anybody in the domain is able to view the report.
We need to ensure that the report should not be accessible without entering proper credentials.
We must also ensure that the website is able to render the report using "window.location.href" and without prompting the user
What is the solution for this in SSRS 2005?