How to securely store data?

hi all,
i'm writing a little app that stores their settings into a text file, in order to read them the next time ;
is there a way to "securely" store data? i wonder if i could store it into another file type, in order to deny anyone to read stored data. now, with text file is too simple!!!
i already use db, but this kind of data (my program's settings) doesn't need to be stored into a db
thanx
sandro

Well, you could encrypt the data when you write it, and decrypt it when you read it back.

Similar Messages

  • How can i store data in term of a tree structure

    how can i store data in term of a tree structure

    What a tree is the question. If you just want a fast access, ehats about Hashtable or dictionary classes ? The data there is structured in a tree. For a simple binary tree, you can use something like
    class Node {
    Node(Object data){
       Node left;
       Node right;
       Object data = data;
    void insert(Object data, Node parent){
      int test = data.compareTo(parent.data);
      if(test < 0 ){
        if(parent.left == null){
          parent.left = new Node(data);
        else{
          insert(data, parent.left);
      else{
        if(parent.right == null){
          parent.right = new Node(data);
        else{
          insert(data,parent.right);
    }And so build up a binary tree. The traversing methods can be found in almost any good book (pre-order, post-order, in-order), for search you have just to look at greater/smaller and descend in the tree.
    The Object data can be changed to what you want for storage, String, or primitive Numbers, Vectors ...
    Is that what you search for?

  • How can I store data in CompactFlash in a PCI 7041?

    Hi.
    I have built an application for RT control in a PCI 7041 that executes the main loop at 5 kHz, so cycle time is 200 us. Now I want to save some data generated during execution. I would like to register timestamp and three values per cycle so I'd have four values every 200 us.
    I think that the best way to do this is to store data in the CompactFlash memory included in PCI 7041 in real time (one "row" per cycle), and then, after RT loop execution (it lasts about 2 seconds), download all data to Host's hard disk.
    How can I do this? How can I access CompactFlash from Labview? Is there a better way to solve my problem?
    Thanks!

    The 7041's CompactFlash is accessible as a drive (C through LabVIEW's file I/O functions. You can open/create/replace files on the 7041, just as you would on the host by calling file I/O functions in your downloaded VI.
    Once the data is on C:, FTP to the 7041 from the host to retrieve your files. You can FTP programmatically in LabVIEW if you have the internet toolkit. If you don't have the internet toolkit, you can use System Exec to run your FTP commands.
    If you prefer not to use FTP, you can transfer the data via TCP, UDP, or Datasocket, but that will require some additional programming.

  • How can i store data from a pc to TC

    how can I backup data from a PC to TC

    Get a suitable backup software..
    Windows backup is of course useless. But you should already know that. It will not work on any version less than pro anyway.. due to MS deciding people with home versions should never use networks. ???
    That is why there is one million and one third party backup software that do work with network drives. Look up reviews of what works well. for the price you want to pay and get it.. Drive Image was a popular one. I must have a copy somewhere I bought .. then changed to Mac..
    There are plenty of free ones.. I do use macrium reflect.. does disk image only unless you pay the license.. but works super well.. particular for restore.. which people kind of forget.. the value of backup is how well does it restore.
    Use ethernet if possible.
    Note that mixing TM and data on the TC is not necessarily a great idea if you are also running Macs.

  • Taking Mac In For Service - How to Secure My Data

    I need to take my G5 in for service today. I'm concerned about the technicians having access to sensitive data on the system. Besides backing everything from the documents folder off to a firewire drive that I'll keep at home, what steps would:
    a) protect passwords, account numbers, etc.
    b) still allow the repair shop the access they need to run the system and troubleshoot.
    c) prevent someone from installing a keylogger or similar security threat which I would not be able to detect when I get the machine back.
    Related questions:
    1) If I backup and then delete the system.keychain before giving them the system, will the mac generate a new keychain which they can use during the repair; and will I be able to replace it when I get the machine back?
    2) If there are multiple user accounts on the machine, are there multiple keychains, and if so where are they?
    Thanks much!

    Király's post describes exactly what I do. I clone the drive to a spare, and then do an erase-and-install of generic OS X with none of my personal files, before sending the machine in. When the machine comes back, I clone my entire drive back to the Mac. I do this because:
    1. I don't want to lose any data, so I back it all up.
    2. I do not want others logging into my account or having access to my data, so I take it all off the drive.
    3. Even if I had no confidential info, I would not want people screwing with my personally tuned configuration or installing or accidentally deleting things.
    By cloning out, wiping, and cloning back, I ensure that the drive contents after it returns from service are 100% exactly what I had before I sent it out, no matter what the techs did.

  • How to secure Appraisal Data

    The requierment of the HR department is to conceal the data in such a way that even the system administartor can not view or extract the data for appraisals from the system. The issue is that sys admin will have the access to user logins and the responsibilities attached to them. He maybe able to extraxct the data directly from the database or attach the HR responsibility to a login and can hence view the Appraisal data.
    2 levels of security are required:
    1) At Application level
    2) At database level- to prevent direct querying of data.
    Can you please help in achieving these 2 levels of security?

    This is a common problem with all parts of the system. There really isn't a way of preventing the system administrator form seening any data if they give themselves the right responsibilities.
    Appraisal data should only be seen by the participants in the approasal process. So there is already security there. The system administrator would have to actually log in as one of those participants to see anything. But, a DBA could look at the tables....
    All I can suggest is that you put in place some monitoring of who accesses what and report on anomalies.
    Regards
    Tim

  • How to practically store data on a separate drive

    i am re-organizing after a move to mac and decided to move all my data to a raid array while keeping my OS's on a separate drive.
    i am seeing that this is more difficult in practice than it sounds.
    for instance, i have all sorts of folders such as Music or Screenshots or Pictures or Movies etc, etc, etc and i am wondering if I should just keep ALL of this dat on the separate drive and RE-POINT all my software that uses a database to that folder on the other drive.
    thanks.

    i am re-organizing after a move to mac and decided to move all my data to a raid array while keeping my OS's on a separate drive.
    i am seeing that this is more difficult in practice than it sounds.
    for instance, i have all sorts of folders such as Music or Screenshots or Pictures or Movies etc, etc, etc and i am wondering if I should just keep ALL of this dat on the separate drive and RE-POINT all my software that uses a database to that folder on the other drive.
    thanks.

  • How to store data for an account individually

    hi there, may i know how do u store data for an account individually.
    let's say i have an application for all users. but i do have a log in module since i have a module where users can enter thier own information into the system like appoinments. since every account( owned by user) has different details, may i know how to design such system?
    mus i store data in the local system instead of the database?
    thanx in advance

    let's say i have an application for all users. but i
    do have a log in module since i have a module where
    users can enter thier own information into the system
    like appoinments. since every account( owned by user)
    has different details, may i know how to design such
    system?
    mus i store data in the local system instead of the
    database?You can store all the information in the database you want and you can also retrieve it where ever and however you want.
    Exactly how to do it depends on exactly what you want to do, so plz explain alittle bit more on what do you intend to do. :)
    Gul

  • How does iPhoto 6 store data?

    Hi,
    I am curious, how does iPhoto store data? I have three folders:
    1. Data
    2. Modified
    3. Originals
    All appear to have the same directory, but have vastly different content, ranging from 2.4 GB to just a few MB.
    I would like to slim my hard drive, but not throw out something that is essential in iPhoto’s operation.
    Thanks,
    Klaus

    Klaus
    Good thing you checked here first
    It is strongly advised that you do not move, change or in anyway alter things in the iPhoto Library Folder as this can cause the application to fail and even lead to data loss
    A Note about the iPhoto Library Folder:
    In this folder there are various files, which are the Library itself and some ancillary files. Then you have three folders
    Originals are the photos as they were downloaded from your camera or scanner.
    (ii) Modified contains edited pics, shots that you have cropped, rotated or changed in any way.
    This allows the Photos -> Revert to Original command - very useful if you don't like the changes you've made.
    (iii) Data holds the thumbnails the the app needs to show you the photos in the iPhoto Window.
    If you want to trim things down, then why not move the entire library to an external HD?
    Regards
    TD

  • How to fill LRAW data type from an internal table?

    Hi experts,
    I have a data type LRAW.
    ZCLUSTR type INT2.
    ZLOG type LRAW.
    It is said that: LRAW: Uninterpreted byte string of any length, but has to be declared with a minimum length of 256. Fields of this type must be located at the end of transparent tables (in each table there can be only one such field) and must be preceded by a length field of type INT2. If there is an INSERT or UPDATE in ABAP programs, this length field must be filled with the length actually required. If the length field is not filled correctly, this may lead to a data loss in the LRAW field! A fields of this type cannot be used in the WHERE condition of a SELECT statement.
    So my question is how can I store data in ZLOG? I want to store the content of an internal table into ZLOG, but I don't know how to use INSERT statement correctly. What should I do with ZCLUSTR?

    Hi Chaitanya,
    Refer IMPORT EXPORT statement with addition TO DATABASE in abap help.
    Refer below link from SAP help where it is described in detail.
    http://help.sap.com/saphelp_nw04/helpdata/EN/fc/eb3bf8358411d1829f0000e829fbfe/content.htm
    Regards,
    Vishal

  • Secure Store Service and Schedule Data Refresh

    Hi
    Can you please let us know how many (max) target application's we can create under 1 secure store service application? 
    As we know, Manage Data Refresh feature is only available for PowerPivot Service Report and we can access it from Sharepoint to schedule the Workbook for Data Refresh.
    As per our requirement, we need to build a interface to use this Schedule data refresh feature in a separate browser not from SharePoint. Please let us know how to build this interface, is there any option to use API Web Service.
    Thanks in advance.
    Regards
    K.V.B.Gururaaja

    Hi,
    For your first question, refer to the following link:
    https://social.technet.microsoft.com/Forums/en-US/ab7f24eb-0cbf-4101-931e-1f89446e2149/secure-store-service-target-application-max-number?forum=sharepointgeneral
    For your second problem, could you offer a screenshot about what is your intention?
    Besides, take a look at the article about  PowerPivot data refresh options:
    http://www.sqlchick.com/entries/2012/11/17/powerpivot-data-refresh-options.html
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

  • How to read the data from Excel file and Store in XML file using java

    Hi All,
    I got a problem with Excel file.
    My problem is how to read the data from Excel file and Store in XML file using java excel api.
    For getting the data from Excel file what are all the steps i need to follow to get the correct result.
    Any body can send me the code (with java code ,Excel sheet) to this mail id : [email protected]
    Thanks & Regards,
    Sreenu,
    [email protected],
    india,

    If you want someone to do your work, please have the courtesy to provide payment.
    http://www.rentacoder.com

  • How to store data in hashmap so that it can be used by different methods.

    Hello,
    I have an ADF/JSF application and the database is DRM. The program gets data from DRM into this hashmap. Program needs this data frequently. Getting this HashMap is very resource intensive due to a lot of data it has.
    I want to get the data in HashMap once ( I can do this - no problem).  But where/how do I keep it so that different methods can just use this and not make individual trips to DRM? It may be a very basic java question but I seem to be stuck :)
    I am not very concerned about the HashMap part, it can be any collection - the question is of storing it so that it can be used over and over.
    Thanks,

    User,
    If I understand you correctly, you have a JSF application that needs to store data in a HashMap such that it can be accessed over and over? You could put the hashmap into an appropriately-scoped managed bean and access it from there. I'm not sure what a "DRM" is (a digital rights management database, perhaps, in which case it's a "database"), so there is something special about a "DRM" that we need to know, please share.
    John

  • My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to display the data?

    My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to disable the data held on it and ensure that if it is fixed, nobody can use/see my data and access my account?

    Hi Gazpan,
    Thanks for visiting Apple Support Communities.
    I recommend using the steps in this article to back up your iPhone if possible:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    You may also find this advice helpful for your situation:
    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht5661
    If you no longer have your iOS device
    If you're using iCloud and Find My iPhone on the device, you can erase the device remotely and remove it from your account by signing in to icloud.com/find, selecting the device, and clicking Erase. When the device has been erased, click Remove from Account.
    If you're unable to complete either of the above steps, you should change your Apple ID password. Changing your password won't remove any personal information that is cached on the device, but it will make sure that the new owner can't delete your information from iCloud.
    Cheers,
    Jeremy

  • How can i store the data from the list to MS-Access?

    Hi all,
    We all know that from alv it is possible to export data to Ms-excel or word or text file. Can anyone tell me how can i store the data from alv or reports to Ms-Access?
    Thanks in Advance,
    Abhijit

    Hi,
    If you want that without code, i suppose there is a option in MS-Access to import data from Excel, so you have to first export to excel and then import to Access.
    If you want to code it yourself then have a look at FM TABLE_EXPORT_TO_MSACCESS, as said in Exporting Data from R/3 to MS ACCESS
    You can also see the search results in SCN for [export data to MS-Access (45 Results)|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=exportdatato+MS-Access&cat=sdn_all].
    Regards
    Karthik D

Maybe you are looking for