data-storage

UIPasteboard security

老子叫甜甜 提交于 2019-12-12 04:45:27
问题 I need to store information on application that always need to be read when open application. But I don't want user copy/dump/or edit it. So the question is : "Is UIPasteboard can solve this problem?" is it security? and if not, what else is suitable to use. Thank you very much. Edit: Is there have other solution that can solve "delete and reinstall application?" 回答1: UIPasteboard can be overwritten at any time, and I wouldn't call it secure. You might want to consider encrypting and

Android: How do I deal with storing Bookmarks?

混江龙づ霸主 提交于 2019-12-12 03:39:46
问题 I am essentially using a listview but am looking at providing a bookmark functionality. I am thinking that I should store the item attributes in a file when bookmarked and retrieve when required to populate a bookmark listview. I was wondering if there is a de facto standard used in achieving this or do I follow just the "writing into a file" and "reading from a file" when necessary style? 回答1: Instead of plain files (or XML) you could use a SQLite database (android supports that) to store

C# Storage of User Entered Data

荒凉一梦 提交于 2019-12-11 13:33:19
问题 I'm trying to write a C# program, where when a user enters some data into a text box and clicks on a "save" button, the information is stored in some sort of file that when the program is opened the next time around, the information is automatically loaded in. I'm using Visual C# express. What's the best way to do this without requiring some sort of database like MySQL or MSSQL or Access? If the only way or easiest way is a database, I'd rather use Access. If so, does the user of the program

RDBMS vs file system for file storage

﹥>﹥吖頭↗ 提交于 2019-12-11 08:34:48
问题 Are there any advantages of storing entire files in an RDBMS over storing the files in the file system with references to the file path in the RDBMS? Which approach shall be faster? When do I choose one over the other? Does it matter which file system is in use? (say ext3) I do not expect the files to change at all. The files may be json or xml or might be pdf (less likely). Also, there might be no need to refer to these files often. They are only meant for archival. Thank you. 回答1: Given

How to store Python application data

血红的双手。 提交于 2019-12-11 05:06:39
问题 I'm creating a simple Python CLI tool, which lets the user add and delete tasks (the classic Todo app). This is just for my own use, but I want to get into the best practices of creating such applications. The data will be stored in a simple text file. Main question : Where should I store the data file? After doing some reading, I'm inclined to create a new folder in /var/lib and keep the data.txt file in that directory. Are there any drawbacks to that option? Follow up question : Since, by

Most efficient way to store and retrieve large amounts of text data in android

坚强是说给别人听的谎言 提交于 2019-12-10 19:26:22
问题 I wanna write an android application which will store and retrieve large amounts of text data. I wanna store text in paragraph wise.I need to manipulate this text data in an efficient way. What will be the best way for doing this? 回答1: I think the best way is to save all data inside a file. And save this file to specified location in sdcard. If you are saving data inside a file you will get same format as you saved(e.g Paragraph wise in your case).And you can delete file when ever you want. I

Performance consideration: Spread rows in multiple tables vs concentrate all rows in one table

久未见 提交于 2019-12-10 09:25:17
问题 Performance consideration: Spread rows in multiple tables vs concentrate all rows in one table. Hi. I need to log information about about every step that goes on in the application in an SQL DB. There are certain tables, I want the log should be related to: Product - should log when a product has been created changed etc. Order - same as above Shipping - same etc. etc. etc. The data will be need to be retrieved often. I have few ideas on how to do it: Have a log table that will contain

Android data storage in xml

空扰寡人 提交于 2019-12-10 08:17:06
问题 I have a web platform that stores data for an application that I am building. The web platform is built with Ruby on Rails and the main app is for Android. I am curious to know about any performance issues of storing my data in an XML file (for the android app). Eventually my database in the web app is going to have about 2000 entries (like articles / Article category -> Article - content, description, title, image path). Is it better to use SQLite or an XML file to store my data? 回答1: When

Most efficient way to save data on iOS Apps

别等时光非礼了梦想. 提交于 2019-12-08 06:46:19
问题 I am creating an App containing multiple UITableViewControllers. So far I have made all of them connect to my different JSONGetStuff.php files, then getting the data from my database with a JSON encode. This works great. Most tables have cells containing both text and image. Now that I have four tableViews containing different data, I feel like saving the data rather than loading it each time. Now I make the app access the JSON.php files on ViewDidLoad, and store the data in an NSArray, and

Safely Storing sensitive data client side

荒凉一梦 提交于 2019-12-07 23:56:03
问题 Back Story I work at a small-mid size company and we are reworking our customer facing accounting portal and my manager wants to make single click payment option with the Credit Card info stored in cookies on the end users computer. I'm not in love this the idea.... at all (in fact I'm still trying to change his mind). That being said I am trying to make it as secure as I can, I think I've got a way to minimize the risk, here it is: using SSL for all exchanges encrypt the data in a number of