For Programmers: Free Programming Magazines  


Home > Archive > Java Security > March 2004 > java applet security









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author java applet security
Matthijs Blaas

2004-03-27, 12:31 am

Hi all!

I have a situation that isn't fully clear to me, maybe anyone could clear
things up a bit for me, or tell me in what direction I should look for more
info about this:
I have an SSL connection to a certain website, on this secured website is an
php script issued that calls an applet with parameters. After the applet did
it's job the parameters it received from the php script are send along with
some other info it generated, to another php script (hosted on the same SSL
site).

Is this secure? I mean could one decompile the applet and have it listnen to
the data it receives from the php script, add his own info with it and send
this to the other php script? Or is it possible to 'see' if the applet is
issued from the secured domain and not local(possibly modified), or can't
one tap the parameters the php script would send as its over SSL?... Im a
little bit about this...

I'd greatly appreciate any help or links to more info about this issue!

-Thijs


Roedy Green

2004-03-28, 10:36 pm

On Fri, 26 Mar 2004 23:53:46 +0100, "Matthijs Blaas"
<thijs_blaas@hotmail.com> wrote or quoted :

>Is this secure? I mean could one decompile the applet and have it listnen to
>the data it receives from the php script, add his own info with it and send
>this to the other php script? Or is it possible to 'see' if the applet is
>issued from the secured domain and not local(possibly modified), or can't
>one tap the parameters the php script would send as its over SSL?... Im a
>little bit about this...


that you could do in get a packet sniffer like Ethereal and just watch
the traffic to see if it is encrypted.

http://mindprod.com/jgloss/ethereal.html

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Matthijs Blaas

2004-03-29, 9:46 am

I think the issue I have problems with is about how the caching of an applet
works:

I call my applet from the (SSL) website with parameters (the sessionid), the
applet is downloaded locally, does it's job and sends back a score along
with the sessionid it received. This id session is send back because the
receiving script will validate the incoming data with it, so that nobody
could just send their own score (they'd need a valid generated session id).

But if someone would decompile the locally downloaded applet and have the
modified applet listnen to the sessionid it receives and have the modified
applet to send his own score along with the hijacked sessionid back... is
there a way to overcome this or will there automatically be checked if the
applet really is the original applet from the website? I don't know how this
is handled...

-Thijs

"Roedy Green" <look-at-the-website@mindprod.com> wrote in message
news:ceke60h4l1v2887s6ebrpgh946rhnjm43c@
4ax.com...
> On Fri, 26 Mar 2004 23:53:46 +0100, "Matthijs Blaas"
> <thijs_blaas@hotmail.com> wrote or quoted :
>
to[color=darkred]
send[color=darkred]
>
> that you could do in get a packet sniffer like Ethereal and just watch
> the traffic to see if it is encrypted.
>
> http://mindprod.com/jgloss/ethereal.html
>
> --
> Canadian Mind Products, Roedy Green.
> Coaching, problem solving, economical contract programming.
> See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com