Creating Secure Form that Outputs from a Database?

I need to create a form that pulls data from a database (of any format) based on what the user enters.  Specifically, I want a customer to be able to enter their name in a field and output data based on their name.  I was about to use a standard PHP mail form methodology, but I realize this would be insecure (I would like to keep my customer list hidden).  Can someone offer a suggestion on what I should look for in creating a secure form/database output structure for my site?  Even if it's just the name of the method so I can search for a tutorial.  Thank you!

Does it matter that anyone could enter the right name in the form to return the customer data? If so you need to use a password.
1. Create a form through which the customer can register their details with a user name and password.
2. On the server side hash the password with something like SHA256 (plenty of open source implementations about or you can create your own).
3. Store the customer details together with a userid and hashed password in the server database
4. Create a form through which the customer can request their details, and asks them for their userid and password.
6. On the server side, rehash the password from the form and request a row from the customer database where the userid and hashed password match an entry
7. Return the customer data if row retrieved from database else return a message saying on data matching those details etc.
Regards
Phil

Similar Messages

  • Speed up process to create web forms that put info into database

    Hi All
    Basically what Im trying to ask is that I have been developing jsp pages with some javabeans to insert information into databases and then to insert/retreive this information. I have been doing this by hand and it takes time even though I have a library of beans that I have built overtime. My management wants me to deploy new forms within 30 minutes.
    Current method of creating forms
    ==========================
    1 - I make the form in dreamweaver
    2- Copy and paste the code into my IDE jpadpro
    3- Put in the bean connection in the jsp page and create new insert statement
    4 - Create the result page
    5- Ftp pages to server
    I am looking to speed the process of creating new forms which connect to ms sql server (insert) information. I have already invested in crystal reports to make reports which i think has cut my development time by 10 foldes. I am looking for something similar to insert information into the databases.
    If there is no such software then is there a java IDE where I can design web page forms visually (like dreamweaver/ microsoft infopath) and create the jdbc connections through wizards. I think microsofts visual studio does this, but i cant use this as i am working with j2ee with ms sql server database.
    I am currently looking into eclipse with the myeclipse plugin to see if it will speed things up. Any suggestions from anyone most welcomed.
    Also will JSF be better to use?
    Regards
    Antek

    Cutting down development times of forms applications is probably why they created Formular (http://formular.redeye.no/ ).
    In my company, we use Formular to define the data we wish to collect. We do this in XML. The XML is pretty straight forward to grasp. Formular uses this XML to generate the actual HTML form so you do not need to build several JSPs for each form you display. Formular handles multiple pages gracefully.
    After building a few forms this way, you quickly learn ways to save time by establishing a library of commonly used components such as data field validators.
    These are components you always end up using in many forms (such as data formating, value range checks, required checks, etc.).
    The Formular package allows you to reuse those.
    The other fine feature is the availability of data sources. These are classes that Formular uses to populate your forms (or example generate select lists, or radio buttons from data you have in a database or even a file).
    Finally, you might be lucky to be in a position to create a single form processing model for your applications. What we have is a generic form processing class that receives data collected by Formular, and use the configuration data from the XML to determine how that data will be handled. You could for instance have a class that you call/invoke dynamically depending on how the form is configured.
    I use the XML file custom parameters for this (these params and their values are invisible to the user but accessible by the generic form handler that comes with the package).
    You might use these to specify the table you want that form to be posted into, and also maybe even specify exactly which fields.
    For our usage, this package is of great value, and we found the licensing costs very attractive. A license is around 43 dollars per site if I remember well.
    For the amount of work you put in, I'd recommend this software for you to evaluate.

  • Hello there, I am creating a database of all our companies press contacts. I would like to create a form that would act as the front end and feed the database which is obviously the back end. The database is in Access 2013. My question is to whether this

    Hello there, I am creating a database of all our companies press contacts. I would like to create a form that would act as the front end and feed the database which is obviously the back end. The database is in Access 2013. My question is to whether this is indeed possible?

    This forum thread appears to point towards the problem.
    Re: Unable to Switch Audio Sync Settings

  • I am trying to create a Form that will act as a list.  I want to import data into the form from exce

    My table has a list of names with product information in corresponding columns.  I want to create a form that I can import this into where every row makes a new part of the form list I create.  Is this possible?
    Example of what I have in excel:
    Name
    Product 1
    Product 2
    Product 3
    Total
    a
    1
    2
    3
    6
    b
    0
    3
    4
    7
    c
    1
    3
    4
    8
    d
    1
    3
    5
    9
    Example of what I want in Form:
    Customer a    1     2     3     6
    Customer b    0     3     4     7
    etc.
    I want to put this info into a form to make it more presentable.  Can anyone help me with this?

    Look at the Import/Export form data functionalities already built-in into Acrobat.

  • I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the butten is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the button is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    Hi,
    You have the choice between xml or pdf, in later versions of designer you can choose with a dropdown on the email button Object palette, the "Submit As";
    In earlier version you had to edit the XML Source and change the format from xml to pdf (or vice-versa);
    Regards
    Bruce

  • How do you create a form that has user permissions per form field for different user?

    I need to create a form that is used by multi people but each user needs to fill out different fields within the form. I need the first user to make selections from a list and save it to send to another (the selection fields then need to be locked). Then the other user checks one of the selections made by the first user and saves the document to send back to the first user. Not sure if this is possible. I would like the first form field selections not to even show as a highlighted field to the other user (like just be more like a text field). I want the document to be able to be used more than once. The list selections will change and need to be sent to the other user at least once a month or more. Has anyone done this?

    There's no built-in way to do that, but it's probably doable using a custom-made script to hide and/or lock the fields.

  • How do I create a form that can be edited, then mailed, then edited again?

    I am trying to create a form that would be emailed to one person, they would complete part of it, email it on to a second user who would then complete another part based on the input from the first, and then forward it onto a third for their input.
    the issue I have is that once the second person enters their information, they can not save their additions and continue the process.
    any help would be greatly appreciated.

    Interactive forms cannot be saved locally using Reader. To do local save you either have to have Acrobat on each desktop or have the form Reader-extended to enable local save in Reader. A form is Reader-enabled using the LiveCycle Reader Extensions server component.
    Steve

  • I want to create a form that I can change at an instance that will store the information without replacing it

    I want to create a form that I can change at an instance that will store the information without replacing it: Here are examples of what i have:
    This is the form:  The True/False in column B are actually check boxes
    Date
    Job Name
    Start
    End
    Hours Worked
    Per Diem
    Wednesday, Mar 5, 2014
    Duke University
    7:30 PM
    2:30 AM
    7.00
    Arellano, Paul
    TRUE
    Wednesday, Mar 5, 2014
    Duke University
    7:30 PM
    2:30 AM
    7.00
    0.00
    Blackwell, Zach
    FALSE
    Christian, Charles
    TRUE
    Wednesday, Mar 5, 2014
    Duke University
    7:30 PM
    2:30 AM
    7.00
    0.00
    Christian, John
    FALSE
    Currence, John
    FALSE
    Curtis, Brandon
    FALSE
    Hawkins, Tyre
    FALSE
    King, Corey
    FALSE
    Nunez, Jose
    FALSE
    Rangel, Antonio
    FALSE
    Rice, Eric
    FALSE
    Salgado, Ricardo
    FALSE
    and the sheet that the index to looks like:
    Saturday, Mar 15, 2014
    Rice, Eric
    Providence College
    9:00 AM
    7:30 PM
    10.50
    1
    Saturday, Mar 15, 2014
    Rice, Eric
    Virginia Beach
    7:30 PM
    2:30 AM
    7.00
    Saturday, Mar 15, 2014
    Salgado, Ricardo
    0.00
    Sunday, Mar 16, 2014
    Arellano, Paul
    Providence College
    7:00 AM
    8:00 PM
    13.00
    1
    Sunday, Mar 16, 2014
    Blackwell, Zach
    0.00
    Sunday, Mar 16, 2014
    Christian, Charles
    0.00
    Sunday, Mar 16, 2014
    Christian, John
    0.00
    Sunday, Mar 16, 2014
    Currence, John
    Providence College
    7:00 AM
    8:00 PM
    13.00
    1
    Sunday, Mar 16, 2014
    Curtis, Brandon
    0.00
    I want to be able to fill out the form and it place itself into Sheet 1 without changing everytime.  I can index the array from the form, but it changes everytime.

    You think it would be the other way around.
    Just speculation, but forms probably came to iOS first because of likely use for data entry in the field that syncs back to the Mac.  On a small screen with a touch interface, forms make inputing values easier.
    On the Mac, with its bigger screen, typing directly into a data table often works well enough.
    SG

  • Does anyone know the best way to create a form that you can do a mail merge with?

    I have been asked to create a form that can be used to do a mail merge. At first I thought I could create it in indesign and then pdf the file and do form fields right in the pdf, but I'm not sure if you can do a mail merge with data in an excel file and a pdf file containing form fields.
    The other option I know I could use is a Word file and excel, but I don't think the functionality is as good as in a pdf (like addition of percentages, or error messages, radio buttons, etc.). And I do need to be able to do a mail merge. Anybody have any suggestions?

    There is not built-in feature for this, but it can be done with scripting. The problem is it can be a bit complicated, and it more complicated to decribe in much detail in a forum posting. It involves creating the base form and making the pages templates. You can export from Excel to a tab delimited text file. You can then either programmatically create a template-based FDF that when loaded into Acrobat populates the PDF form, creating as many individual forms as needed, or using JavaScript in Acrobat to read the data file and generate as many individual forms as needed. Both approaches involve a similar amount of programming, but they're quite different.
    You might want to look into this product, which apparently is no longer available but may be come back soon: http://www.debenu.com/products/eol/arts-pdf-variform-lite/

  • How to create a form that will allow the applicant to upload their photo

    I have Adobe Acrobat 9 Pro Extended and I know how to create forms that require text input.
    How to create a form that will allow the applicant to upload their photo? I alo wish to know how to upload a photograph so that I can test the form I created.
    Thank you
    Adrian Watts

    test@ORA10G> with x as (
      2    select '234-1111' as customer, to_date('2-Jan-2008','dd-Mon-yyyy') as call_date, 'Order product' as reason from dual union all
      3    select '234-1132', to_date('3-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      4    select '231-1154', to_date('4-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      5    select '234-1111', to_date('2-Nov-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      6    select '234-1132', to_date('9-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      7    select '231-1154', to_date('9-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      8    select '234-1111', to_date('5-Dec-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      9    select '234-1131', to_date('7-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    10    select '231-1154', to_date('1-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    11    select '234-1111', to_date('8-Jan-2008','dd-Mon-yyyy'), 'Order product' from dual union all
    12    select '234-1131', to_date('3-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    13    select '231-1154', to_date('4-Nov-2007','dd-Mon-yyyy'), 'Forward to Sales' from dual)
    14  --
    15  select customer,max(call_date), reason
    16  from x
    17  where reason = 'Request info'
    18  group by customer, reason;
    CUSTOMER MAX(CALL_ REASON
    231-1154 09-SEP-07 Request info
    234-1131 07-DEC-07 Request info
    234-1132 09-JAN-08 Request info
    test@ORA10G>
    test@ORA10G>pratz

  • I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    George - Thanks you so much!  Actually, i'd love for the text color to be red font color.  Could you send me the script for that? And I assume I just copy and paste the script into the field properties (see screenshot)?
    thanks again!
    Seth

  • Create fillable forms that automatically fill out a letter

    Hi, so I'm new to acrobat (and adobe in general) and I wnated to know if anyone had a way of doing this. So what I want to do is to create a form that takes people's information. It will take things like Names, Phone numbers, emails, etc. Then, it will ask them to choose what kind of form they want to create. So, it could be a letter, or a memo, whatever. Based on their choice, I then want to make another form, with all of their information filled in for them, appear. I've made a form for the first part, but I would like to know if anyone could explain how to do the second part, where it creates the new page for me.

    If the end user is using Adobe Reader to fill this out then no, it isn't possible.
    I can say whether it would be possible if all parties are using Adobe Acrobat but I doubt that it is.
    You chould probably look in to creating a web application that can generate a PDF.

  • Caches that load from a database on a cache miss

    Do you have a good example of caches that load from a database on a cache miss for Coherence 3.0. I looked at the crud.zip (CrudStore) but it is for version 2.5 and the class com.tangosol.net.cache.CrudStore is missing
    Thanks

    Hi rabe,
    Take a look at this forums post. It includes an example of the updates CacheStore implementation.
    Later,
    Rob Misek
    Tangosol, Inc.

  • I would like to create a form that gives the user opportunities to provide information on as many as 50 projects. Does Adobe FormsCentral allow for this "expandable" type of form, such that if someone only has 10 projects, they can complete the form as ea

    I would like to create a form that gives the user opportunities to provide information on as many as 50 projects. Does Adobe FormsCentral allow for this "expandable" type of form, such that if someone only has 10 projects, they can complete the form as easily as someone with 50 projects. In other words, is there a way to make the form "expandable?"

    Hi Ms Buckner,
    Yes, you can do this with the Show/Hide "Skip" logic rules.
    1. Suppose, for example, you have your first ten projects showing by default.
    2. At the end of those fields, you would have a Yes/No question asking if the person wanted to add more projects.
    3. If they answer "No", they move on to the next section/area/question/etc.
    4. If they answer "Yes" you have the form display ten more project fields that you had already included, but you had hidden up to this point.
    5. Repeat steps two, three, and four as often as needed. (It helps that you can copy and paste fields, including groups of questions, so you don't have to manually re-create them each time.)
    It means you must anticipate the maximum number of times you want to provide project fields, but you've already done that, and you have to build the form with that maximum number, but only display smaller portions at a time until they have filled in all they need.
    I hope that helps,
    Brian

  • I want to create a form that i can drop pictures in a certain place

    i want to create a form that i can drop pictures into

    Unfortunately Formscentral does not support drag and drop pictures into your form. If you want to form filler submit their images with other form data, you can use file attachment field. Add an file attachment field when design form, so that form filler can add their image file into it and submit with other form data.
    Thanks,
    Pengpeng Sun

Maybe you are looking for

  • Using Leopard with iCal, Apple Remote Desktop, and Quicktime/Keynote

    Hi, I need to create the following 'synergy' or workflow or 'automation' between these softwares: - iCal - Apple Remote Desktop - Quicktime/Keynote This is the application: Remotely controlling (ARD) and scheduling (iCal) several quicktime/keynote fi

  • Lack of sleep and Serial number

    HI:)  After fighting with my Adobe Priemeire3.0 elements for 11 hours (and thru the night) I desided to uninstall then reinstall.  The plan backfired when it came to the serial number and I can't find it on the box or anywhere.  Help a tired girl out

  • RMAN backup of archive logs

    I am sort of new to RMAN, I've been playing with it for a while but that's about as far as I've taken it. My question is does RMAN automatically backup any archive logs needed for recovery when I run "backup database" command or do I have to issue "b

  • How to copy selected files in Finder (applescript)

    I don't like to use hotkeys (such as CMD+C, etc.) and would prefer to copy and paste files in OS X with the mouse just like I did in Windows. Unfortunately Finder has no such copy and paste buttons in its toolbar like I know them from Windows Explore

  • Cannot Start J2EE 1.4 Server

    When i try to start the J2EE 1.4 Server on Windows XP Professional i get: Domain Domain1 failed to startup [#|2005-04-25T14:29:27.912+1000|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.resource.corba|_ThreadID=10;| java.net.BindException: Address