简体   繁体   English

具有关键数据(信用卡,名称...)的本地存储与ddbb存储

[英]Local store vs ddbb store with critical data (credit card, name…)

Suppose we have an app that works for mobile phones. 假设我们有一个适用于手机的应用程序。 One of the things that make this app is to insert some critical information of an user in the last steps of shipment of a particular website that is not from the app creator. 制作此应用的其中一件事是,在特定网站发布的最后步骤中插入用户的一些关键信息,而这些信息并非来自应用创建者。 It fills adress, credit card and real name. 它填写地址,信用卡和真实姓名。 After buying something in that website, app will not have any responsability of it because it only fills some info. 在该网站上购买商品后,应用程序将不承担任何责任,因为它仅填充了一些信息。 In this particular case, and considering that is not probabily that an user uses his account from an other mobile/pc, is it a better idea to store this information in the DDBB where there's other user's infomation or to store it in his mobile phone as a "cookie" encrypted? 在这种特殊情况下,考虑到用户不太可能使用其他移动设备/个人电脑上的帐户,将这个信息存储在其他用户信息所在的DDBB中还是将其存储在他的手机中是一个更好的主意吗?加密的“ cookie”?

I think it's a better idea the second one because if someone attemps to catch all information of ddbb will have any credit card instead of one particular as in the second case but I would like to listen for more opinions. 我认为第二个方法更好,因为如果有人尝试捕获ddbb的所有信息,则将拥有任何信用卡而不是第二种情况下的某个信用卡,但是我想听听更多的意见。

In case of selecting the second one, which method should I do? 如果选择第二种方法,该怎么办? App will be for android and maybe for iOs 该应用程序将适用于android,也许适用于iOs

But what if phone got stolen, is it safe to save user credit card info(autofill)!! 但是,如果手机被盗了,可以安全保存用户的信用卡信息(自动填充)!

I searched and found this answer can help you, 我搜索后发现此答案可以帮助您,

saving credit card info on phoone 在电话上保存信用卡信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM