I have a situation where I have a .net asp intranet application that generates PDF reports from Crystal Reports rpt files, stores the PDFs in a directory on the web server. My problem is that I need the intranet application to access these .PDFs but I don't want to give the users the abilty to navigate to the reports directly by url. Therefore Anonymous Authentication is not and option and I also do not want to maintain a separate list of users on the web server either (Integrated Security) Now Im left with basic Authentication which requires the users to supply credentials via a prompt.
What I would like to do is hard code some credentials in the web app and when making the http request pass the "Basic Authentication" credentials to the web server. Is this possible? How? and/or If you have a better solution please shine some light. Thanks