Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6954111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:33:50+00:00 2026-05-27T14:33:50+00:00

The applet will help the user to create java class objects which will be

  • 0

The applet will help the user to create java class objects which will be sent to the PHP server, which will store the object as a blob in a MySQL database. The reverse should work too – reading the data back.

The user will have to be logged into the PHP server anyway to view this applet. But at the same time I don’t want to leave the applet ‘open’ to have access to the database (through PHP) without a password.

The connection will be like this:
Java Applet — send URL stream –> PHP Script — Authenticate — if valid connect to DB –> MySQL DB

I want this process to authenticate the user but at the same time I don’t want the user to have to log in again after having logged into the website, and at the same time I don’t want the Applet to store any secure information because thats not safe.

Is there a way around here? Or will I have to look for an alternative? (If so, what alternative?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:33:51+00:00Added an answer on May 27, 2026 at 2:33 pm

    Your applet should have the ability to read cookies from the page it is displayed on. So, assuming the user has authenticated into the webpage, you could have it grab a session ID (or whatever) from the page, and use that to ‘authenticate’ into your server. However, bear in mind that unless you’re using an encrypted session (https), these cookies can be read in transit by 3rd parties. Also, you need to be aware that any 3rd party scripts on your page will also be able to read these cookies.

    I don’t think this is as ideal from a security standpoint as having the user authenticate to the database again, but this is an alternative you can use.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building this small java applet in which I need a JPanel which will
I am designing a chat applet. In this, a user will append his name
I'm developing an applet in Java 1.6 which is supposed (ofcourse) to run on
I have a question on the java applet.I've created a java applet,which is a
I have two class fils upload.java and transferProgress.java . upload.java makes applet GUI and
I have applet which use jna Pointer class. The applet code is: import com.sun.jna.*;
Hi I am trying to write a java applet that will get some hard
I have created a voice recorder applet. The output sound file will be .wav
I made a Java Applet with some Standard GUI Components on it. I used
We have a Java Applet built using AWT. This applet lets you select pictures

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.