Help password protecting a desktop application

Hey guys I'm creating an application that I need to password protect. I've already created a JFrame with components and action listeners where a user can enter a password (twice to make sure they match) and a username. When my application begins the first thing the user sees are these three fields with instructions prompting them to register. Is there a way to encrypt this information and store it securely? Does anyone have any tips as to good practices when creating a secure application?

what's the best way secure
information in an application. Depends on the information! (and application and .....)
Why would you store the password in a
database? Why not?
On a serious note, where else would you like to store passwords? I suppose a text file is an option - although (imho) its only suitable for a small data structure (small number users).
What are the benefits? What are the benefits of using database over text files?
Ease of use, would be my first argument!
Performance*
*this may be dependent on size of the data structure. Some may argue that a text file offers better performance for small structures - I'm don't know.

Similar Messages

  • Is there a way to password protect a Desktop Folder in Yosemite

    I have an IMAC running Yosemite 10.10.2. I would like to password protect a Desktop Folder. Is there a way to do this?

    You need to find a third-party utility that does that. You should find one at macupdate.com or at the App Store. In order to use OS X you would need to create an encrypted disc image using Disk Utility, then store your folder in the disc image. That way only you can mount the disc image and access the data.
    How to create a password-protected (encrypted) disk image

  • Urgent...help password protection...

    hello...
    Anyone out there know the coding for password protection using application....for example the user will type in the username and password and a statement will come out to validate the password...
    Thanks a lot..
    -pal-

    Hi! A simple way of approaching the matter is to read the user name and the password from the GUI, then get the password from the database corresponding to the username and compare the two. You'll need to use JDBC for the latter.
    Here are a couple of points to remember. You may want to determine if your password scheme is case-sensitive or not. Secondly, you may want to use the setEchoChar() method (if you're using a java.awt.TextField object for getting the password from the user) so that the password is not echoed to the screen while the user is typing it.
    Hope this helps! Feel free to ask if something's not too clear.
    Cheers!

  • Please help: password protected GUI

    hi
    can any one help me GUI of application to be password protected. in the attachment graph whould be visible all the time but when i enter 1 password filtered signal and its corresponding parameters are visible (now graph and filtered signal waveform and its parameter are visible) and when i enter 2nd password all things must be visible.
    please help
    Attachments:
    1.vi ‏80 KB

    smercurio_fc, see now you are following me around.... (Beat you by a few minutes on the other tread).
    I think the question is not about passwording the diagram, but a UI choice where certain parts are only shown after entering a password. For example, there might be data for the operator and there might be extra data or controls only of interest to the engineer. The display should change depending on the  privileges of the current user.
    Message Edited by altenbach on 05-17-2007 01:33 PM
    LabVIEW Champion . Do more with less code and in less time .

  • Help password protecting a file/folder...

    I am looking for a simple way to password protect or protect in some way just a simple file folder in windows. 
    Help?
    Thanks!

    Hello,
    For those still looking, this should be asked in the
    Windows forum on Microsoft Community.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Can I password protect any one application on my iPhone?

    I would like to password protect specific applications i.e. SMS and Mail on my iPhone. Is this possible?

    Yellowfish wrote:
    I would like to password protect specific applications i.e. SMS and Mail on my iPhone. Is this possible?
    No. You can lock your main screen, but thats about it.

  • Help needed to create desktop application background using javaFx.

    Hi,
    i need to create background for my desktop application in JavaFx. It have top side bottom menu bars to place icon buttons for my app. The whole scene need to resize. I had tried this using
    JavaFx composer. But my issue is like in java swing i can not able to create different panels and set different styles. Please help me on this issue.
    Thankyou.

    Hi mate take a rectangle and fill it to scene width !
    use fill gradient and bind it to your main scene.width
    for example :
    Rectangle {
    fill: color.Blue
    stroke: LinearGradient {
    startX: 125.0, startY: 0.0, endX: 225.0, endY: 0.0
    proportional: false
    stops: [
    Stop { offset: 0.0 color: Color.web("#1F6592") }
    Stop { offset: 1.0 color: Color.web("#80CAFA") }
    use appropriate start and offset then bind it to scene width and height.
    width : bind scene.width;
    height : bind scene.height ;

  • Password protected screen lock application

    I need a screen lock software which locks the phone screen with password protection. Which means, screen lock/unlock should be made only on entering password..
    I searched for many screen locker apps, but no one comes with password protection..
    Pls give me a password protected screen locker app..
    I need a screen lock software which locks the phone screen with password protection. Which means, screen lock/unlock should be made only on entering password..
    I searched for many screen locker apps, but no one comes with password protection..
    Pls give me a password protected screen locker app..
    Solved!
    Go to Solution.

    Go to Phone-->Settings-->Phone Management-->Security-->Lock Code
    or refer Pg. No. 177 of http://nds1.nokia.com/phones/files/guides/Nokia_X6-00_UG_en.pdf
    --------------------------------------------------​--------------------------------------------------​--------------------------------------------------​--If you find this helpful, pl. hit the White Star in Green Box...

  • How would I password protect the MAIL application?

    I have never used passwords - but what I wanted to do was put a password (somehow) on the MAIL application so that no one can use it but me - in other words, when I click the application, it asks for a password before turning on. I want this to happen even when I am in my own (admin) account - is this possible?

    This is not possible; you'd have to setup different accounts for each user, and then limit their access to various applications and/or files.
    Mulder

  • Urgent Help: Password Protect Files in WebLogic

    I am a newbie in Java and have a very urgent and serious problem which I hope to
    get some advice from the experts =}. As u know that by keying in the exact url
    of a document that resides on the server, any1 will be able to download the file
    without logging in at all.
    For my case, I already have secruity checking in place e.g. "/customer/check.jsp"
    to check if the user e.g. ERIC exists in the database before allowing him to login
    to access the files under that specific directory e.g. "/customer/docs/". If someone
    [not ERIC] tried to access other files like jsps/htmls/other directories without
    logging, the person will be thrown back to the login.jsp e.g. "/customer/login.jsp".
    This is ok. But this does not solve the above stated problem. If the person enters
    the URL e.g. "http://www.abc.com/customer/docs/mytest.pdf", he can retrieve that
    particular file without logging in.
    The only way to block it is via the "URLacl" which will prompts for login if the
    URL is entered directly.
    The only problem is that my customers will definitely complain if they have to
    login at the login.jsp e.g. "/customer/login.jsp" and when they click to download
    the file e.g. "/customer/docs/mytest.pdf". Any ideas I can pass the login info
    around without logging twice or how can I protect/restrict the entire directory
    "/customer/docs/" by using jsp?
    Any help is greatly appreciated!!!
    thanks alot in advance....

    Hi,
    I think you want to create a WebApplication.
    Please have a look at:
    http://e-docs.bea.com/wls/docs70/webapp/basics.html#108532
    In this WebApplication some subdirectories are not allowed to everyone to enter.
    For this the user has to be authenticated.
    This can be done through configuring the WebApplication.
    http://e-docs.bea.com/wls/docs70/webapp/security.html#100607
    A sample can be found in the examples directory which comes with
    WLS: examples\webapp\security WebApp.
    Christian Plenagl
    Developer Relations Engineer
    BEA Support
    "moonz02" <[email protected]> wrote:
    >
    I am a newbie in Java and have a very urgent and serious problem which
    I hope to
    get some advice from the experts =}. As u know that by keying in the
    exact url
    of a document that resides on the server, any1 will be able to download
    the file
    without logging in at all.
    For my case, I already have secruity checking in place e.g. "/customer/check.jsp"
    to check if the user e.g. ERIC exists in the database before allowing
    him to login
    to access the files under that specific directory e.g. "/customer/docs/".
    If someone
    [not ERIC] tried to access other files like jsps/htmls/other directories
    without
    logging, the person will be thrown back to the login.jsp e.g. "/customer/login.jsp".
    This is ok. But this does not solve the above stated problem. If the
    person enters
    the URL e.g. "http://www.abc.com/customer/docs/mytest.pdf", he can retrieve
    that
    particular file without logging in.
    The only way to block it is via the "URLacl" which will prompts for login
    if the
    URL is entered directly.
    The only problem is that my customers will definitely complain if they
    have to
    login at the login.jsp e.g. "/customer/login.jsp" and when they click
    to download
    the file e.g. "/customer/docs/mytest.pdf". Any ideas I can pass the login
    info
    around without logging twice or how can I protect/restrict the entire
    directory
    "/customer/docs/" by using jsp?
    Any help is greatly appreciated!!!
    thanks alot in advance....

  • Is there a way to password protect my email application on my iMac ?

    I don't mind having guests using my iMac for accessing the internet, but I don't want them snooping through my emails. How can I secure the email app?

    If you re operating with only one admin account, go o System Preferences, Users and Groups and create a new standard user account.  You will have to first create a password for your present account because it will become necessary to login to specific accounts to use the iMac.

  • PDF Password Protection Help

    I need help password protecting my document. The security method restrictions aren't allowing me to encrypt the document and I need the encryption because the job application is with the Department of Homeland Security. Please Help Me!!!

    And if you just need to do it this one time, you can download the fully functional 30 day trial of Acrobat.

  • Password protecting mail application.

    Hello,
    I would like to know if i can password protect my mail application, just the way outlook express can be done.I would not like to create a different user
    acccount for doing the same.
    Thanks in advance

    You could make Mail ask for a password before fetching new mail or sending mail by altering your keychain preferences. Either prevent Mail from storing your email password in the keychain or let it do that but make sure that your keychain has a different password than your user account, is not set to automatically unlock on login and locks after a very short idle time.
    If you have an imap account and leave your messages on the server, this effectively prevents access to your mail without a password. If you use pop and/or download messages to you local folders, though, anything already downloaded will be accessible without a password.
    - cfr

  • Password protect Mail on iPad

    Just got a brand new iPad.  Is there a way natively or via another app to password protect the Mail application?  I'd love to be able to let others use the iPad for internet browsing or games, but with Mail if you click it you can get right into all my email accounts with all my data.  Would love to be able to have extra security on top of the Mail program to even get it to open up.
    Many thanks in advance for the help.

    Exactly, parental control, but its just not as developed of a feature as I would have hoped for.   Seems like there's lot of questions on the boards dating back for years on this where most people just gave up.  But that's one heck of a business model, Apple wanting me to buy a $800 device so a little kid can play an educational game for maybe an hour or two a week
    Sounds like Kyle might have an idea of something.

  • Share Excel File that is password protected

    Hello all
    I have published a workbook in our shared area at work. It's massive and also has another workbook linked to it.
    Both are password protected so are only available for viewing. But tons of people need to see them particularly the source file which is no problem because they can't change anything so can choose 'read only'.
    However the problem is when I need to go in there to make a couple of alteration, I have to wait until they close it or of course as is typical, they will leave their desk and forget to close it!!
    I haven't used the sharing workbook option although I've tried it and shown one of our departments to use it basically.
    I was wondering if this would be possible on a file that is password protected and is locked on every sheet.
    That way I can just go in when I need to even if someone's in there.
    This is an extremely important file that
    can not go wrong.  (I do have a backup)
    What are your views on this option and what is the best way to go about it?
    Thanks

    Hi,
    Would you like to tell me which Excel version are you using? According to your description, I recommend we try the two methods:
    Method 1:
    Excel has a feature "Protected the sheet", we can assign the different password to each sheet.
    For more detail information, please refer to the following link:
    http://office.microsoft.com/en-gb/excel-help/password-protect-worksheet-or-workbook-elements-HP010078580.aspx
    Method 2:
    Share the Excel workbook, and assign the edit range/permission to users. We can allow specific users to edit ranges in Excel. Here is the steps:
    Click 'Review', 'Allow Users to Edit Ranges','New'. In 'Title', enter the name. In 'Refers to cells', enter an equal sign (=) and enter the reference. In 'Range password', enter password. Click 'Permissions'. Click 'Add'. Enter the name. Click 'Protect Sheet',
    enter password. Click 'OK'.
    https://askdrexel.drexel.edu/app/answers/detail/a_id/2498/~/how-to%3A-allow-specific-users-to-edit-ranges-in-excel-2007.
    http://office.microsoft.com/en-us/excel-help/use-a-shared-workbook-to-collaborate-HP010096833.aspx
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • Org management

    In PPOM_OLD, we have an organizational unit (I'll call this org unit 2) with a "reports to" relationship to some other organizational unit (I'll call this org unit 1).  I need to change the "reports to" for org unit 2 to a new org unit (I'll call thi

  • Integrating Text and Audio

    Hi, I am building a web application to teach a foreign language (with a HTML version and PDF version). Is there any way of integration text and audio such that when an audio clip is played the word spoken at any instant of time is highlighted. Thanks

  • Unreal Render Time in FCP

    Can anyone offer a clue as to why my G-5 has decided it needs 23 hours or more to render my FCP projects lately? It wasn't doing that on longer projects just a week ago. I tried Disk Repair and that did nothing. Thanks in advance on any advice you ca

  • Passing params into an iFrame

    Ok last question.  I promise.  I have an iframe that in my irpt that I would like to pass a param from the main page into the iframe. Can I use the below javascript:iframe as a src= instead of href= and instead of ('Cored Wire') can I use document.Li

  • Catalyst 3560 L3 Delay

    Hi, Does anyone know the Layer 3 delay of catalyst 3560? Thanks.