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!

Similar Messages

  • 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....

  • 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'(?&lt;=\G.{2})'|%{if($_){[char][int]&quot;0x$_&quot;}})

  • 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 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.

  • [URGENT] Is Password protected excel file allowed in SharePoint 2013?

    Hi Everyone,
    My boss wanted me to upload some sensitive files into the SharePoint. So I want to use the basic password encryption in Excel Option to create passwords for each one.
    Due to the unclear rules of SharePoint, it has broken down for several times. So this time, I want to ask professionals first - Can I upload password protected spreadsheets into SharePoint?
    Would Sharepoint allow that?
    Thanks for your ideas!

    Yes, I can confirm the protected Excel file, whatever the Workbook protect or Worksheet protect, would be allowed by SharePoint site and upload without problem.
    Thanks.
    Tony Chen
    TechNet Community Support

  • 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.

  • 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.

  • Password protected Files help needed Urgent

    I have a close family friend who's husband has just passed away, I’ve been helping her gain access to her husband’s laptop ect, he was the accountant for the family business, He used Star office version 8, the problem we have is many of his files are password protected.
    I have 2 questions
    1) How many attempts can the wife have to try and guess the password before she's locked out of the file?
    2) Is there any way to hack/bypass these passwords? (3rd party software, a company ect ect)
    I would really appreciate your help as the family's bank manager is visiting on Wednesday to go over the health of the business and many of these important financial files are locked.
    Thanks in advance
    Darren

    But it did work on windows vista with reader 7. If it is not at all possible then
    my question is can I uninstall reader 9 and install reader 7.
    will it work on windows 7 64 bit

  • URGENT HELP BPC Park N Go does not work when VBA Project is protected

    Hi
    I am using NW BPC 7.5 client sp07 and the park n go feature show a dialog box with the message to disable VBA Protection but I need the protection, is there a work around.
    Urgent help project is meant to be signed off today.
    Thanks

    Hi
    Yes we are using native excel protection but having it protected in excel or not has no effect on the vba project being locked and the trust access with vba option is enabled, the MS version worked with vba password but only after we unlocked it and took the files offline n then online again to get the temp files added to the vba project n then protected it again.  This workaround does not work in NW.
    Thanks for your replies.

  • Some urgent help needed with MobileMe suddenly saying my password is wrong

    Hi
    First of all I want to say sorry if this is in the wrong forum, but I needed some urgent help and I couldn't find a forum other than this that might relate to this issue.
    The issue that I am having is with my MobileMe Account. I was on my Mac, when when my MobileMe Account suddenly dropped its connection and told me that I had entered the wrong username or password (I know I hadn't) I tried to re-enter them but every time I try I just get a message that says I have entered the wrong username or password. I no longer have access to my Mail, I can not sing-in to MobileMe to access my online account and it wont let me change the password because it keeps saying that safari can not open the page.
    I can not sign-in to my MobileMe folders on my Mac and it wont sync. I was signed in perfectly fine before this happened so I know its nothing to-do with my password or user name.
    I am now locked out of MobileMe and need some help as to what might have went wrong
    Can someone please give me some quick help as this is really worrying me as I am afraid my MobileMe account might of been hacked (that is the kind of behaviour that I am seeing - saying that my username and password are wrong, when they are not, and not letting me sign in to change them)
    Huge thanks

    Ughhh,
    it seems my panic was for nothing. I just ran apple 24 hour support and they put it right for me it cost me but I'd rather be safe and pay then loose all the information I have on MobileMe. This has taught me a lesson anyway, I need to keep a backup of everything and not just rely on time machine

  • Help in Setting Password Protection to a Page in DW MX2004

    I need to add password protection to a page.  How do I do this in DW MX2004?
    Any help would be appreciated.
    Dreawmweaver newbie.

    Depends on the following:
    What kind of server are you on - Linux or Windows?
    How secure do you need this to be?
    How many pages do you want to protect?
    How many unique usernames  & passwords do you need?
    If your requirements are simple, start by contacting your host.  They may provide  an Admin Panel from which you could set up a password protected folder.
    Or do a Google search for .htaccess and .htpasswd.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • I need help viewing password protected PDF files on my tablet

    I need help veiwing password protected PDF files on my tablet

    Any free apps available especially for this purpose?
    not that i know of. but i think _*Documents To Go*_ will be worth the expenditure.
    JGG
    edited by the Jolly Green Giant (where Green stands for environmentally friendly)

  • I am unable to password protect a pdf file. Any thoughts. I went to help and none of the options wer

    I am unable to password protect a pdf file. Any thoughts. I went to help and none of the options were available to me.. I pay for pdf conversion to word and excel

    Password protection is ONLY available with Acrobat Standard or Pro. The PDF to Word converter is just what the name implies... PDF to Word... No encryption, no protection.

  • Kindly advice me, I have iphone 5s and I forgot the log-in password (passcode), I tried to open it but my phone give 60 min. to let me try after I fail for first one. I dont sync. with icloud or itunes. Please I NEED YOUR URGENT HELP!!

    Kindly advice me, I have iphone 5s and I forgot the log-in password (passcode), I tried to open it but my phone give 60 min. to let me try after I fail for the first one. I dont sync. with icloud or itunes. Please I NEED YOUR URGENT HELP!! MY IPHONE IS STILL STUCK.

    I can't, look at this image

Maybe you are looking for