How to add encryption in Jupload applet ? How to add encryption in Jupload applet ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How to add encryption in Jupload applet ?

Started by spock, October 17, 2009, 05:22:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

spock

Hello Everyone ! :)

Did anybody here try to modify the code of the Jupload applet to add some file encryption mechanism during file upload  ?

I did a search on this forum but found nothing related to this topic  :-\
I have downloaded last Jupload source code version on svn repository , compiled the project with eclipse and read the package.html documentation in "filedata" directory and also had a look at the PictureFileData.java file  BUT it seems that a temp file is always used in "beforeUpload" function.

What I would like to achieve is to do "on the fly" encryption by returning an encrypted stream instead of the current file stream.

Is there a way to do that ?  Did anyone already implement some encryption (even with a temp file this would be a first step) ?

Thanks for any help  because I'm a bit lost ...  :-[



spock

No anwser so far  :-\

Just doing a little up !  ;)

etienne_sf

Hi,

  You were right to do an 'up' here...  I missed this one.

If your question is just about the applet, which is what I expect, as, otherwise, you also have to manage the PHP part of this plugin, then the relevant forum is:
http://sourceforge.net/forum/forum.php?forum_id=199107

  AFAIK, nobody added such a function in the applet.

About temporary files: it's necessary, to use native Java picture coding/decoding. So: it's useful only if you have to transform pictures (rotation, resizing, metadata management). Otherwise, there should be no temporary file.

Etienne

spock

Ok thanks etienne !

I'll try to post to the other forum.

Just a side note: I don't want to perform encryption on the php side but inside the applet  :-\


etienne_sf

Yep, of course.

  But you need to decrypt on server side. If your server side is Java, it's simple. If it's PHP, it's of course possible, but not that easy...

Etienne

Nb: Thread locked. The relevant forum is:
http://sourceforge.net/forum/forum.php?forum_id=199107