Results 1 to 3 of 3

Thread: password caching method

  1. #1
    Join Date
    Jul 2007
    Posts
    35
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default password caching method

    i want to cache passwords that is being used by two or three of qt applications. How or where must i save this passwords ? The secure method is save all passwords in memory as enrypted. But in which application ? All my applications can die and start again. so if i save password in one application segment when application die passwords will be lost.
    Is there any other method do you suggest ?
    Thanks in advance
    Ramazan

  2. #2
    Join Date
    Jun 2008
    Location
    Germany/Belarus/Sweden
    Posts
    53
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: password caching method

    Maybe it is better to save pass with QSettings? And then let last app delete this value...? On windows you can use WINAPI Mutex for checking if your app the last one.... or something like that....

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default

    You can use shared memory for that. You can access shared memory from Qt using QSharedMemory.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Password storing strategy
    By Lykurg in forum General Discussion
    Replies: 8
    Last Post: 1st July 2009, 18:53
  2. method creation
    By MarkoSan in forum Newbie
    Replies: 6
    Last Post: 30th May 2007, 08:47
  3. Creating object of other class in Run() method
    By santosh.kumar in forum Qt Programming
    Replies: 2
    Last Post: 15th May 2007, 15:05
  4. Replies: 4
    Last Post: 10th March 2007, 18:01
  5. About Password Protected Files:
    By vermarajeev in forum Qt Programming
    Replies: 7
    Last Post: 16th February 2007, 14:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.