Forcing the downloading of a file

From: Rogue Chameleon (rogue.chameleon_at_gmail.com)
Date: 09/30/04


Date: Thu, 30 Sep 2004 11:11:37 -0400

Hi all

I apologize for the vagueness of the subject line... but it's the best that
I could do. Here is what I am trying to accomplish:

Our users will be receiving automated emails from a web server that will
contain an encrypted file attachment. The file has been encrypted with a
public key. For the file to be useful, it will obviously need to be
decrypted.

What I'd like to do is have a web servlet do the encryption for the users.
Once they get the email, they detach the file, and upload it to the servlet
(using <input type="file">), the decryption will occur. Immediately after
the decryption, I want to "force" the file back to the user. That is, I
want them to be immediately presented with the "download file" dialog box.

Can this be done? If so.... how?

-- 
Rogue Chameleon...


Relevant Pages

  • Re: Cryptography in ASP.NET stopped working
    ... For some bizarre reason the encryption routine used UTF8 and the decryption ... The web server has recently been upgraded to .NET Framework 2.0, ... I have a copy of the web app on two web servers. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Securing data to a process principal
    ... encryption key first time for the user - and use it later). ... secret. ... I need the decryption to ... You MAY think that instead of a filter driver you can simply ...
    (microsoft.public.platformsdk.security)
  • Re: embedded keys - there has to be a less vulnerable approach
    ... the database would be run on top of an encrypting file system ... > The use of an asymmetrical encryption algorithm does not seem to offer ... because the encryption and decryption ... > a hostile attacker is not a member of that small knowledgeable elite. ...
    (comp.security.misc)
  • embedded keys - there has to be a less vulnerable approach
    ... the database would be run on top of an encrypting file system ... The use of an asymmetrical encryption algorithm does not seem to offer ... because the encryption and decryption ... You have a table with customer names and addresses. ...
    (comp.security.misc)
  • NTE_BAD_DATA
    ... decryption module using the self signed certificate. ... My encryption and decryption module are as follows. ... goto Exit_MyDecryptFile; ... // imported from a BLOB read in from the source file or having ...
    (microsoft.public.platformsdk.security)