Government Security
Network Security Resources

Jump to content

Photo

How To Pass Variables From An Applet To A Webpage(php, Asp) In A Secure Manner?

- - - - - server java php apple
  • Please log in to reply
3 replies to this topic

#1 crock

crock

    Private First Class

  • Members
  • 83 posts

Posted 04 February 2007 - 11:23 AM

Hi,

Here is my problem:
I want people to log in using a identification card. This card is connected to the computer by means of a card reader.
I have written a Java applet to read the data from the card. And I have created a test certificate to run it on a webserver.

Now, I have to pass the data (name, birth,...) to the webpage in a secure way.

First of all, how can I do that? I was thinking of using some kind of POST method to a php script, but I don't know how to do that from an applet.

And second, (this more like a logic problem) how can I be sure that the data being send is not tampered with by the user. The card also contains a certificate (public/private key), maybe that can be of any use?

Can anyone be of help for this?
Thanks,

#2 Guest_DiabloPatch_*

Guest_DiabloPatch_*
  • Guests

Posted 04 February 2007 - 01:46 PM

depends on how much you want to protect the data but basically you can't make sure the user, using it will not tamper with it.

Only thing you can do is send it all encrypted to prevent third parties to view the data.

#3 crock

crock

    Private First Class

  • Members
  • 83 posts

Posted 11 February 2007 - 01:45 PM

there is no way to secure the applet code ?

#4 hks3207

hks3207

    Private First Class

  • Members
  • 63 posts

Posted 15 December 2009 - 11:50 AM

How about instead of passing the data to a webscript you pass it to a database and then through the webscript get it from the db





Also tagged with one or more of these keywords: server, java, php, apple