Credit card on the android app

-1

Is it better for the person to save the number, expiration date and cvv of the card, in the app itself (sqlite) or in the web database?

    
asked by anonymous 26.09.2016 / 01:55

2 answers

1

There are advantages and disadvantages to each approach:

1- Save to APP:

Advantages: It is not necessary to retype information as it is saved directly to the mobile phone; Partially offline operation.

Disadvantages: Changing devices means retyping the data; Insecurity because the data is accessible to anyone who uses the cell phone; Cellular memory consumption for data storage

2- Save to WEB:

Advantages: It is not necessary to retype information as it is saved to a remote server; It does not use internal memory of the cellular to store the data; Security due to the storage of the information in a remote system associated to the user and not to the cell phone; You can use the app on any mobile device.

Disadvantages: Application only works with Internet access; Need to register information in a server registry; Latency when loading information from a remote server; Need authentication to gain access to remote server information.

You need to consider which disadvantages can be pitted depending on the purpose of the application. I usually choose to save on the WEB since nowadays virtually every application requires access to the internet.

    
26.09.2016 / 02:18
1

Response

  • For security purposes and that may be contractual or privacy terms, it is best that these card information remain in the server database. Nothing prevents the phone from being stolen and data is left in the hands of malicious people because they have gained access to the application's SQLite database.
  • If you delete the application from your mobile phone and download it again in the future, you will need to re-enter your credit card information.
  • Conclusion

    It is better to save the information in a web database by assuming and guaranteeing Information Security commitments with the client. And there is no way to save the credit card data in SQLite because to make a transaction or any other query using the credit card you need access to the Internet.

        
    26.09.2016 / 02:21