issues of database and the remote password (Connector/J)

I am creating a Java desktop app and I'm having a few problems. I use to use Java with mysql connector/J.

First of all it is possible, a desktop application, to access a MySQL database stored on a Web host?

Secondly, I have to distribute and install the driver Connector/J with my program?

I mean, how the hell do I keep my password of database safely within the program? If the Java code can be easily decompiled then surely anyone with a little knowledge of Java could find my database password in my source code? Even if stored in a separate and encrypted file, probably the location and encryption method must be stored in the source code?

Thanks, Jim

Hello

If the host is accessible via the public IP address or some kind of proxy, then I see no problem. You just need to create a connection string correctly.

Of course, there is a need to distribute the driver with the application. Otherwise how do you imagine your application running without the necessary libraries?

Store the password db is a bit more complicated. Even if it's encrypted a specific user will always manage to get it. For the same reason, distribute a desktop app with a password for db stored inside, is not a good idea. I suggest you write a proxy server little. Desktop applications will connect to the server that will access the DB. The proxy will query the DB and return the result in a response, it is much easier to secure the password in this way.

The desktop application should also be a connect/disconnect feature to prevent access to unauthorized users.

Tags: Oracle

Similar Questions

  • The email that I use as an ID is no longer in service, how can I change to a new ID if I know the old ID and the old password?

    The ID I used before is is longer in service, how can I change to a new ID if I know the old ID and the old password?

    Start here:

    Change your Apple - Apple Support ID

  • Fingerprints and the remote control supported on Satellite P100-387

    P100-387 has a fingerprint and the remote? Please, someone answer me.
    Thank you.

    Hello

    To my knowledge, the Satellite P100-387 does not support the fingerprint reader and is not supplied with the remote control.
    But you're right.
    The fingerprints and the remote control are optional and some laptops in the P100 series support fingerprint reader and are delivered with command remotely.

    I also found this site with P100-387 material specifications:
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/JSP/productPage.do?service=EU&PRODUCT_ID=120514#0

  • Why is my Adobe ID and the different password of my creative cloud? I can't with my Adobe ID

    Why is my Adobe ID and the different password of my creative cloud? I can't with my Adobe ID

    your subscription is linked to the adobe id that you used when you subscribe.

    You can check your account, Adobe ID and may be able to correct some things.

  • I want to install a trial version of indesign CC but the username and password does not work. Is my username and the same password I use to connect to Adobe?

    I want to install a trial version of indesign CC but the username and password does not work. Is my username and the same password I use to connect to Adobe?

    I work on a Mac computer

    Hi Tania,.

    He could be induced to Mac username and password.

    Kind regards

    Sheena

  • How to change the application apps and the sysadmin password

    Hi expert,

    I know not how to change the password application and sysadmin in the oracle application. but I have a doubt.

    What is required at the bottom of the application when you go to change applications and the sysadmin password in the oracle application.

    Please suggest me what is the proper way to change the apps and the sysadmin password.

    to change the password for apps I followed the command below.

    FNDCPASS apps/apps 0 System/Manager SYSTEM APPLSYS < new password for applications >

    for sysadmin

    FNDCPASS apps/apps 0 USER sysadmin < new passwd for sysadmin > System/Manager

    Please clear my doubt.

    Thanks and greetings

    pritesh Rodriguez



    I know not how to change the password application and sysadmin in the oracle application. but I have a doubt.

    What is required at the bottom of the application when you go to change applications and the sysadmin password in the oracle application.

    You must stop the services before you can change the password of user apps, and then run the automatic configuration after changing the password and eventually train services to the top.

    Stop down services or the AutoConfig running is not required for SYSADMIN (and other users of the application).

    Please suggest me what is the proper way to change the apps and the sysadmin password.

    to change the password for apps I followed the command below.

    FNDCPASS apps/apps 0 SYSTEM APPLSYS System/Manager

    for sysadmin

    FNDCPASS apps/apps 0 system/sysadmin USER Manager

    Please clear my doubt.

    What change Applications using the apps schema password change Utility (FNDCPASS or AFPASSWD) (Doc ID 437260.1)

    Loss of password SYSADMIN. How to know the password of the user SYSADMIN (Doc ID 1066661.1)

    Thank you

    Hussein


  • Database and the listener is not discovered by EM12cR2

    Hello

    I installed EM12cR2 on Linux and have the SGD host monitored as a target, as well as 20 other targets on the same server. I would now like to get an instance of EBS showing as a target, so I followed the [EBS Management Pack Guide | http://docs.oracle.com/cd/E24628_01/doc.121/e28715/T508706T588991.htm] on how to do it and in summary, what I've done so far is:

    1 installed the agent on the new Linux host where EBS.
    2 deploy the plugin EBS on WHO and ensured that the EBS, RDBMS, and FMW plugins are deployed on the agent in 1. above.

    The result is that I can see the new host and the agent installed on show as targets, but it has not detected the database running on the host computer. Until I can get to find out the database of the EBS Vision I can't not to discover the rest of the EBS.

    So I then tried to manually add the target using 'Add nonhost target Using guided process (also Adds related targets)', but when I specify the host and let it autodetect, it is still unable to find the database. There is another option "Add nonhost targets by specification followed target properties" that allows me me to be more specific about the location of the database and provide details for connection etc, but I could not try it but as I do not have values in all the fields so I'll need to go and see them.

    I was just wondering if I was missing something important here in why he is unable to automatically detect the database and the earpiece on the new host?

    Thank you very much.
    Indy

    Indy,
    First of all, I suggest you review the following to understand the discovery works:
    Understanding of database in Enterprise Manager 12cCloud Control [ID 1400463.1]

    Then I would take a look at the problems known to this doc particularly #5.
    How to manually add targets of database in 12 c Cloud Control [ID 1371846.1]

    Kind regards
    Dave

  • When I go to the field in 2008 r2 error ID and the incorrect password for remote

    When I take my 2008 domain to distance his username from the list and the password is password and username incorrect but even work in direct server.

    People Server lying around in the TechNet forums, you might better wander
    there and post this question for a better response.

    http://social.technet.Microsoft.com/forums/en-us/categories

  • The new synchronization process and the master password do not mix

    Article why I can't sync my passwords? linkified ~ J99 says that the password inhibits synchronization, which explains why the "password sync" option is grayed out, if the password is used. Then to syncv passwords that must disable the master password, i.e. by train to "empty".

    What speaks against the following:

    1. disable the password and let synchronization collect existing passwords
    2. activate the password
    3. do this on all the devices of interest

    Finally, all devices should have 'more or less' synchronized passwords, while benefiting from the security provided by their main password. "Roughly", because the above procedure consecutively for devices A, B, C ends with B having a synchronized set passwords of A and B and C the game, containing people with disabilities of A synchronization, B and C (which is all of the passwords in the cloud). Given the fact we do not change passwords too often, so this shouldn't be a big problem. We can, for instance recovery procedure above for A at the end of the round.

    Does make sense?

    TiA

    SMO

    https://Bugzilla.Mozilla.org/show_bug.cgi?id=995268#C58

    "The problem of this bug is on the fact that we are no longer synchronized passwords if you have master-password enabled. We realize this is a significant limitation and we are working on a solution to bring things back to parity with the synchronization of the former. We do not take this issue seriously, and certainly, the challenge will be to store the credentials FxA in connection manager, so protected by the master-password as are other passwords. »

  • Apple will never allow iPhone users to connect to their Apple TV via Bluetooth, and the remote app?

    I am frustrated because I know that the iPhone can connect to any Apple TV via Bluetooth to "auto set-up" but when it comes to linking in general, apple specifically denies this functionality to users.  I would use this feature because I use my AppleTV for travelI obtained and I would make a transfer to wi - Fi password. I can access Wi - Fi without needing to put distance with me.

    Download the Remote by Apple app on your phone.

  • had a problem with the remote office, locking of the time-out and the remote host

    I have two computers that both are connected to the network of my company.  Both computers have Windows XP Professional Version 2002 Service Pack 2 installed.  Both computers were set up for remote desktop connection.

    Computer A is a desktop unit and computer B is a portable device.

    Computer A, I can run the remote desktop to computer B without any problem.

    When I run the desktop remotely from computer B to computer A:
    -I see the typical login screen
    -After I typed the user name and password, and then after about 30 seconds, I got the message delay: "the remote connection has expired.  Please connect to the remote computer again. »
    -at this point, the computer A's lock-up, does not have a mouse or a keyboard. the only way out is turning the device off.

    I spent hours on the website of microsoft looking for possible solutions, but can't find.

    According to some suggestions, I have disabled "Symantec Endpoint protection" and "Microsoft Office Communicator", but it did not help.

    Any help is appreciated.

    Check out this thread

    http://en.community.Dell.com/forums/t/19271963.aspx

  • Whenever I have reset my password for my account and the new password does not work I can not connect?

    Any ideas? I have set up a new account as happened for a while, but I want to just get on the old account for a moment in order to change the address associated with my Xbox Live and anxious a few emails.

    Any help is appeciated.

    Hello

    Are you referring to Hotmail?

    I'm sorry, but we cannot help with hotmail problems in these forums in response to vista

    Please repost your question in hotmail in the hotmail link below forums

    http://windowslivehelp.com/product.aspx?ProductID=1

  • A little black box appears at the top left of my Windows 7 login screen just before the Welcome screen and the stalls password when I try to enter. HELP PLEASE?

    Whenever I turn on my computer for a week, I try and put my password and after the first or the second key it stalls. He again entered my password, but I don't see whether registration in the password box. I also have a little black box that is slightly smaller than the size of a post-it note in the top left area of my screen for half a second, then it disappears and continues to my home screen and office as usual.

    I had this problem for about a week, and I can't understand what is the problem. I googled some things, but no one had the right answer. Someone said it was a startup with a defective software program, but I checked and I have the same 4 startup programs I've had there for a year. (DELL Wiireless WLAN Card, IDT PC Audio, Synaptics Pointing Device Driver and NVIDIA Compatible Windows 7 display driver) Everything is up-to-date and I already have Windows Update.

    * A video that I captured from my computer of this problem: http://www.YouTube.com/watch?v=GViQv-Xrm0U 

    (password stops around 0:42 and black appears at 0:52)

    Someone help? I'm paranoid that it might be a Spyware... ? None of my passwords and others are corrupted though, everything has been fine. I am making bluescreens (but not daily). I scanned with Malewarebytes and found nothing and I do that again right now. I also tried Registry Mechanic and Windows Security Essentials, but found nothing.

    I have no idea what Forum put it, this is my first time using this site...

    Model: DELL Studio XPS 1330

    Windows 7 Ultimate (64-bit)

    (I had this computer for about a year)

    The position of Bramble to drown in this issue How to start the program before windows logon user 7 Siena above [Archer] suggestion that you should study the entries in the services.

  • A SCN for the entire database and the different SNA for the data files?

    DB Version: 11 g

    I always thought that there is a unique SCN for the database as a whole.
    A quote from the link below as
    When a control point is completed, Oracle stores the RCS individually in the control for each data file file
    http://www.dbapool.com/articles/1029200701.html


    What does that mean? There is a SNA for the entire database, and there are individual SCN for each data files?

    Well, unfortunately, the article says more bad than good things. Or if I can't call them wrong, they are rather confusing and rather than clear things for the reader, its making them appear to look more confused.

    First things, YVERT is used for read consistency (CR) mechanism and the backbone of the notion of Multiversioning. The control point is the mechanism to help that recovery is decided. Contrary to what said article, not any kind of checkpoints update both the data file and the control file, and also, there is not a type of them as well. In addition, the article says that the LAST_CHECKPOOINT is set to NULL, while its actually set to the infinity since it is not possible to detect the moment when the database is opened, that the last issue of control over the file would be. In the case of complete control point, this number is saved and is also associated with the toa Controlfile own database leader at the next startup. If this is not the case, there is an inconsistency in the stop_checkpoint of the data file and the stop_checkpoint reocrded in the control file, leading to a recovery of the instance.

    There are several types of control points. Similarly, there are several types of SNA as well. Without going into the details of these, IMO, the article simply means that when the control point write over a file passes, oracle updates the file checkpoint on it and this is recorded in the Controlifle. as well.

    HTH
    Aman...

  • EVGA Nvidia Geforce 8400 GS issues: [FIXED] screen and the sound does not [FIXED] virgins

    I have a HP Compaq dc5750 I just got an EVGA Nvidia Geforce 8400 GS, and I'm having a problem with it. I disassembled the computer cover and installed, replace the cover, turned on the computer and the monitor not power not on. So I decided that I had to disable the integrated graphics card (ATI Radeon Xpress 1150), then I added the card even once. Still happens... Monitor powers on without the new graphics card. My monitor is 8 years old and lacks a DVI port. I have to connect the monitor to the graphics card to make it work? I want just this card to work.

    UPDATE: white screen problem is fixed, but the sound does not (no audio installed device) even if the audio driver is installed

    Hello

    This kind of question is mainly caused by the sound card driver is not not compatible.  Contact the hardware manufacturer directly to confirm the driver is compatible or not.

    Test the issue with another pair of speakers or headphones, or you can plug the device of reading to another port to see the result.

    In the meantime, you can also see if the playback device is disabled. To do this, please check the following steps:

    1 Please, click Start-> Control Panel-> Sound.

    2. on the playback tab, right-click on the empty square and then click on "show disabled devices".

    3. check if your playback device is disabled. If so, right-click on it and click Activate.

    1. Please click Start, type services.msc and press ENTER.

    2. double-click on Windows Audio.

    3. click on the 'general' tab. Make sure the "Startup Type" is "automatic". Then please click on "Stop" under "Status of Service" to stop the service.

    4. click on "Start" under "Status of Service" to start the service.

    Reinstall the audio device

    1. click on start, type Device Manager, click on Device Manager to open it.

    2. expand ' audio, video and game controllers ".

    3. right click on your audio device, and then click on uninstall.

    4. check "delete the driver for this device".

    5. click on OK.

    6. after that, restart the computer, the device and the driver must be reinstalled automatically.

    Please check if the problem can be solved now.

    If the problem persists, please install the latest driver of sound card on the manufacturer.

    I found the problem... once again: I had to go to the BIOS and enable Audio integrated. My audio integrated uses Realtek High Definition Audio instead of Nvidia High Definition Audio.

Maybe you are looking for

  • PCMCIA slot stopped working on Satellite Pro A40

    Hello I have a SPA40 and it seems that the PCMCIA port has stopped working.I had a Netgear WN511b wireless network adapter is connected and works fine.Returned to the laptop after a few hours and everything froze upwards. Rebotted and got a * IDE 1 e

  • What is RTUseMutexOptimization in ni - rt.ini?

    Hello does anyone know what described RTUseMutexOptimization in ini or-RT. ? I have two different - time real-systems pxi (LabVIEW 2009 SP1), with RTUseMutexOptimization = TRUE, the other does not have this entry in the ni - rt.ini. Thanks in advance

  • When I click on all programs, windows won't open any of my program files.

    I haven't added any software or hardware. I just turned on the computer and noticed that the shortcuts and folders on my office everything was different. Then when I tried to do a restore Windows system says it does not recognize the name of the file

  • Dell PowerEdge R410 sliding ready Rails - no connector CMA inside the rail

    Hello I have a second hand that came with Dell R410 sliding ready rails which is mounted in a rack in my 22u rack.  I just bought a new MAC for her, but I found that the outside rails have the ears to fix the MAC (and the support leg), the inner rail

  • installed Office 365 on windows 7

    I installed Office 365 on my Windows 7 computer Now I opened Excel, create a new workbook and I do what I've always done, nothing more and nothing less. After changes to the workbook and other tasks, I close and save the workbook in my documents dire