Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: How to add encryption in Jupload applet ?  (Read 6156 times)

0 Members and 1 Guest are viewing this topic.

spock

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
How to add encryption in Jupload applet ?
« on: October 17, 2009, 05:22:32 pm »

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 ...  :-[


Logged

spock

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: How to add encryption in Jupload applet ?
« Reply #1 on: October 20, 2009, 01:27:43 am »

No anwser so far  :-\

Just doing a little up !  ;)
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: How to add encryption in Jupload applet ?
« Reply #2 on: October 20, 2009, 11:54:18 am »

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
Logged

spock

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: How to add encryption in Jupload applet ?
« Reply #3 on: October 20, 2009, 12:02:56 pm »

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

Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: How to add encryption in Jupload applet ?
« Reply #4 on: October 20, 2009, 01:08:49 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 19 queries.