Link to home
Start Free TrialLog in
Avatar of dbedoo
dbedoo

asked on

Basic Authentication IIS .NET web application question

Hi Experts,
   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
ASKER CERTIFIED SOLUTION
Avatar of spprivate
spprivate
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dbedoo
dbedoo

ASKER

Thanks, I did find an alternative solution ... the files no longer need to reside in the wwwroot so i plan on streaming the pdfs.  Good articles  thanks!!