Credit card in android app

Asked

Viewed 88 times

-1

Personal is the best person to save the number, due date and card cvv, in the app itself (sqlite) or in the web database?

2 answers

1

There are advantages and disadvantages to every approach:

1- Save to APP:

Perks: No need to write information because they are saved directly on mobile; Partially offline.

Disadvantages: Changing the device means writing the data; Insecurity because the data is accessible to anyone who uses the mobile phone; Cellular memory consumption for data storage

2- Save to WEB:

Perks: It is not necessary to write information because it is saved on a remote server; It does not use internal memory of the mobile to store the data; Security due to the storage of the information in a remote system associated with the user and not to the mobile; You can use the app on any mobile device.

Disadvantages: Application only works with Internet access; Need to register information on a server log; Latency when loading information from a remote server; Need for authentication to access information from the remote server.

You need to consider which disadvantages can be taken into account depending on the purpose of the application. I usually opt for WEB saving since nowadays virtually every application requires Internet access.

1

Answer

  1. For security reasons that may be contractual or privacy terms, it is best that this card information stays in the server database. Nothing prevents the phone is stolen and the data is in the hands of malicious people because they have access to the application’s Sqlite database.
  2. In case the user deletes the application from his mobile and download it again in the future it will be necessary to inform the credit card data again.

Completion

It is best to save the information in a database on the web assuming and guaranteeing Information Security commitments with the customer. And there is no reason to save the credit card data in Sqlite because to make a transaction or any other query using credit card is required Internet access.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.