当前位置:网站首页>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.
边栏推荐
猜你喜欢

Strange, why is the ArrayList initialization capacity size 10?

Hardware midrange project

苹果放大招!这件事干的太漂亮了……

ESP8266 FreeRTOS开发环境搭建

炒币,亏了1000万。

Mikrotik Routeros Internet access settings

集成积木报表报错 org.apache.catalina.core.StandardContext.filterStart 启动过滤器异常

Tearful eyes, it's not easy to change jobs. Three rounds of interviews, four hours of soul torture

Some tools used in embedded development

架构实战营 模块九:设计电商秒杀系统
随机推荐
主流实时流处理计算框架Flink初体验
“中移链”国密引擎在BSN正式上线
tryhackme圣诞挑战2021-Advent of Cyber 3-day1-IDOR漏洞,不安全的访问控制漏洞
Problems caused by delete and delete[]
7-Zip 遭抵制?呼吁者定下“三宗罪”:伪开源、不安全、作者来自俄罗斯!
SQL learning notes (04) - data update and query operations
laravel postman 提交表单出现419错误。2020年7月6日记。
Import and export of power platform platform sharepointlist
SQL学习笔记(01)——数据库基本知识
Swift control encapsulation - paging controller
Clickhouse: Test on query speed of A-share minute data [Part 2]
SQL learning notes (01) - basic knowledge of database
直播管理项目
A 419 error occurred in the laravel postman submission form. July 6th, 2020 diary.
PHP 字符串与二进制相互转换
JS functionarguments object
Live broadcast management project
炒币,亏了1000万。
数据中台咋就从“小甜甜”变成了“牛夫人”?
Dspic30f6014a LCD block display