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

  • SEARCH
  • Home
  • 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 8910481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:42:00+00:00 2026-06-15T03:42:00+00:00

I have a stand-alone open source Java application. I distribute the software through a

  • 0

I have a stand-alone open source Java application. I distribute the software through a website. Currently, users are asked to submit their name and email address on the website before thy download the software. I use this email list to send people information about updates and such. My problem is that the website registration gets a lot of spam despite security measures.

As an alternative, I would like to have a registration page in the software and have the software send the registration information to the database on my server. This part is easy to implement, but my concern is that the connection string will be hard coded in an open source application. My database would be exposed to anyone who obtained the source code. Does anyone have an idea of how I can have my stand-alone application send user information to a database without this security problem?

Thanks

  • 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-06-15T03:42:02+00:00Added an answer on June 15, 2026 at 3:42 am

    You should never publicly expose your database ports, let alone its login credentials, so you’re right that this isn’t what you want to do. It’s the most insecure thing you can do.

    That being said, you can write a Java application that sits on your server and accepts connections, sort of like a broker for your database, that accepts HTTP requests, then have the client send HTTP requests to the server when the user enters his information. This would ensure that your database isn’t public and you aren’t exposing user’s data or your login information.

    An easy way to do this might be using something like Apache’s HttpComponents library.

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

Sidebar

Related Questions

I have stand alone Java Application with Spring 3.0. I am calling REST service
I have an Stand alone Application which runs Shell Script(with parameters)in Ubuntu. ProcessBuilder pb1
Question fellow programmers. Let's say I have a stand alone application in it's own
I have Developed an Stand alone application (.jar) which is working on Linux environment,
I have code that is currently 'open source' but not easily accessible since it
I have an open-source iPhone API that I downloaded, and that is a standalone
I have created a great stand-alone web form in asp.net utilizing many jQuery features
I have recently merged together 5 of my stand-alone projects into one project to
I have a standalone java application that fires up several JMS consumers using the
I'm looking for a good charting library for Java. It can be open source

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.