I am trying to insert records into database through asp.net web form and am also maintaing logs like how many records inserted, how many records rejected and also maintaing rejection reason in for each record. I am writing all these statistics to a TXT file say Logs.txt which stores in the server.
I am displaying stored log file Logs.txt to user on the browser like http://mywebsite.com/logs/Logs.txt
Log file is displaying properly in the browser but same file getting stored in temporary location (Windows/TempporaryInternetfiles) of a browser. My tester has raised defect as sensitive data gets storing in temporary location.
Now i want to restrict storage of log file in broswer temporary location.