当前位置:网站首页>Apple amplification! It's done so well
Apple amplification! It's done so well
2022-07-01 09:44:00 【A pure smile】
Recommended reading :
《35 year , You have to flee Beijing, Shanghai and Guangzhou ?》《 XD will be punished finally , Stay on probation for one year 》
1. Passive disclosure
Do you have this kind of situation , Because of a change of city or other reasons , Need a new mobile phone number .
Big APP Sometimes it's OK , But some small ones APP There may be no function to change the mobile phone number , Sometimes you even forget which accounts you have registered .
That's what happened to me , New mobile phone card , When registering a platform , Prompt that this mobile number has been registered .
Directly select the mobile authentication code to log in , Log on to this platform , I found that this account was used by the last user .

Fortunately, the last user did not leave any privacy on this platform , Otherwise, it will lead to the passive disclosure of users' privacy ?
I haven't changed my mobile number since I returned to Xi'an from Beijing , On the one hand, mobile phone numbers are now commonly used throughout the country , The price is the same .
what's more , There are too many accounts bound to this mobile number , I can't find it all by myself , I simply returned to Xi'an and got another mobile number .
There is no way to solve this problem completely ?
2. Account cancellation
There is one solution , Can greatly improve this problem , Account cancellation .
I don't want to use this platform anymore , You can cancel my account on this platform , If you register with your mobile number again, it will be a new account .
in addition , Account cancellation can also solve other problems , Such as the death of the user .

Actually in 2018 year , The Ministry of industry and information technology has already issued a document , The network platform must support account cancellation , At present, almost all the big factories have supported , But more small and medium-sized app It 's a long story .

So apple made a move , If you don't have this function , from 7 You will not be allowed to go online since January .
Believe that after this rule is started , Can drive a large number of APP Go online one after another to log off , Apple has objectively promoted personal privacy protection .
So this time , I really want to praise apple .
In fact, this is already an apple 2 Delay this policy for the second time , And declare that this is definitely the last deadline, It is impossible to delay .
Why Apple 2 Second delay ?
3. Why is it so difficult ?
What I want to tell you is , Account cancellation is not as simple as you think , Otherwise, Apple's policy will not be postponed twice .
On the one hand, the platform does not want users to log out , Because then they have one less active user , All platforms regard users' data as their own resources .
On the other hand , If the logout function is not considered at the beginning , It's time to change the code later , The issues involved are relatively complex .
in addition , Although some companies have the cancellation function , But logic is very abnormal , You need to prove yourself , Or submit a pile of materials .( This kind should be scolded )
As a programmer, you can think about how to realize the logout function ?

If it is a logical deletion , Add a field directly to the user table , Mark user logout , I guess that's what most companies do .
If it must be physically deleted , You need to delete the data in the user table , Because the user table is associated with N Multiple tables , The corresponding relationships may need to be deleted .
But it's not enough , Because the database has backup , You may also need to go to the History Library 、 Delete the corresponding user information from the backup data , This workload is a little big .
Of course, there are other issues involved , For example, the user deleted , Whether the content generated on the platform should be deleted , Other users of the platform @ What should his temporal logic do , For example, how to deal with the account with money …

Yes, of course , There must be some difficulty , But these should not be excuses for inaction , I hope that major Android manufacturers in China can follow up with this function .
Give the user the right to choose !

Wechat scan QR code , Focus on a storytelling programmer
( Reply after attention 1024 Get the exclusive essence of programmers. !)
Click to learn about : The only two comic official account of the whole network is programmers.
边栏推荐
- Flinkv1.13 implementation of financial anti fraud cases
- 渗透常用工具-Goby
- Exception handling of classes in C #
- ESP8266 FreeRTOS开发环境搭建
- Live broadcast management project
- High precision factorial
- ES6 const essence and completely immutable implementation (object.free)
- 电脑USB、HDMI、DP各种接口及速度
- UE small knowledge point controller possess pawn process
- 奇怪,为什么ArrayList初始化容量大小为10?
猜你喜欢
随机推荐
炒币,亏了1000万。
Latex插入的eps图片模糊解决方法
谁拥有穿越周期的眼光?
SQL学习笔记(02)——数据库表操作
Ubuntu系统安装与配置MySQL
SQL learning notes (04) - data update and query operations
Packetdrill script analysis guide
A 419 error occurred in the laravel postman submission form. July 6th, 2020 diary.
Network partition notes
SQL learning notes (02) - database table operation
京东与腾讯续签三年战略合作协议;起薪涨至26万元!韩国三星SK争相加薪留住半导体人才;Firefox 102 发布|极客头条...
Swag init error: cannot find type definition: response Response
嵌入式开发用到的一些工具
Concept of digital currency
[unity shader] substitution of bool type in the property definition
我喜欢两个男人。。。
Configure load balancing
BSN长话短说之十:如何保证NFT的安全
LeetCode 344. Reverse string
High precision factorial








