Private unique device identifier in iOS

前端 未结 8 1183
不知归路
不知归路 2021-01-30 01:57

We\'re working on a project with my colleagues which involves using a lot of private and non official code. This is not intended for AppStore use.

The f

8条回答
  •  一向
    一向 (楼主)
    2021-01-30 02:19

    Are you allowed to ask the user for their MSISDN's? (international phone numbers) Like what whatsApp is doing when you first login with them by confirming with a SMS code sent to the user msisdn. If you know the MSISDN's of your users, you can keep them in your servers DB and only allow a white-listed msisdn to register and use your services. If you want to be more secure you can send the SMS's more often however there is a way to understand SIM-card change (this is for t-mobile and europe use i guess) from within the APP so that the user cant fool you by enetering SMS for a different MSISDN and then change to his/her real MSISDN sim card.

    MSISDNs are unique worldwide and they are secured by the telecom operators so i guess this solution is strictly secure. What do you say? good luck

    update: actually upon reading your question carefully again, I think you dont want the user to login any info right? if thats the case sorry for the wrong answer:/

    note: why cant you use

    [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]
    

    the advertising identifier is unique to the device and permanent i guess. I dont know if you can use it privately though..

提交回复
热议问题