Is there a way to automatically delete a pdf file from a temp directory after it is downloaded and viewed?

Posted on 2012-08-28
Medium Priority
Last Modified: 2012-08-28
We are worried about users downloading documents with sensitive information on them (from MAC, PC, etc) to the download directory on a public computer and then leaving them for others to view later.

Any ideas on how to tackle this with code? The portal is ASP.NET and C#. Or is there another solution to tackle this?
Question by:dcrowley_01
LVL 20

Assisted Solution

thehagman earned 668 total points
ID: 38342045
As you say public computer, it looks as if you have no control over the client side computer?
You might advice your users to always use "private browsing", which -hopefully and when always done - clears all session caches.
Or don't let them download sensitive documents at all - you might get along with web based remote desktop access or the like ...
LVL 38

Assisted Solution

by:Gerwin Jansen, EE MVE
Gerwin Jansen, EE MVE earned 664 total points
ID: 38342085
Use a portable browser from a USB device, private browsing mode. Check with a known PDF after browsing/viewing to be sure. But think of proxies and caches that may be present in with or near the public machines. I'd advise not to take any risk and just don't open any sensitive materials when on another network than your company's.

Accepted Solution

pkbugudai earned 668 total points
ID: 38342090

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses
Course of the Month17 days, 9 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question