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
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

    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 37

    Assisted Solution

    by:Gerwin Jansen
    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.
    LVL 6

    Accepted Solution


    Author Closing Comment


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    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.
    Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
    Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now