Results 1 to 3 of 3

Thread: Which way should i save??

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2006
    Posts
    56

    Exclamation Which way should i save??

    I am crating a password protection application for a friend. I want it so that it saves the value of each of the text boxes in some way that it cannot be read outwith the application. I wanted to use a database but i dont know how to make it so that the full list is available to the user. What alternative ways are there to save the value of a textbox??? I am going to have three textboxes per password (site name, user name and the password) then another set of boxes below that and so on.

    Please help

    if you dont understand this please say and i will explain again

  2. #2
    Lively Member GoldEagle's Avatar
    Join Date
    Feb 2006
    Location
    Canada
    Posts
    82

    Re: Which way should i save??

    I don't know if this is the most secure was of doing this but I would use an INI file.

    [INFO]

    User1=Sam
    Site1=www.anysite.com
    Password1=asdsdasdasda

    User2=Dan
    Site2=www.anysite.com
    Password2=dsdweqweqwe

    This is my favorite was of storing and retreving strings that dosen't require writing registry keys. There are some very easy to use code examples on the net and mabey in the codebank on how to read and write these files. The only problem is that it may not be really that secure. One only needs to access the INI to find all this info out.
    If you found my post in anyway helpful please rate it.

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Which way should i save??

    http://www.di-mgt.com.au/crypto.html

    Don't invent your own so-so encryption, use an encryption algorithm that's been banged on and found good.

    As far as saving the data, a data file (user defined type) is good, as is a .mdb file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width