当前位置:网站首页>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.
边栏推荐
- High precision factorial
- PHP string to binary conversion
- Wechat emoticons are written into the judgment, and the OK and bomb you send may become "testimony in court"
- Ubuntu system installation and MySQL configuration
- js重写自己的函数
- 121. thread scheduling: join() method and yield() method
- 吃一个女富豪的瓜。。。
- Strange, why is the ArrayList initialization capacity size 10?
- 京东与腾讯续签三年战略合作协议;起薪涨至26万元!韩国三星SK争相加薪留住半导体人才;Firefox 102 发布|极客头条...
- 一个悄然崛起的国产软件,低调又强大!
猜你喜欢

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

直播管理项目

京东与腾讯续签三年战略合作协议;起薪涨至26万元!韩国三星SK争相加薪留住半导体人才;Firefox 102 发布|极客头条...

Hololens2 development -6-eyetracking and speech recognition

渗透常用工具-Goby

新数据库时代,不要只学 Oracle、MySQL

2022.02.15_ Daily question leetcode six hundred and ninety

Cortex M4 systick details

Upload labs for file upload - white box audit

遇到女司机业余开滴滴,日入500!
随机推荐
手指点击屏幕就模拟进入F11进入全屏
【无标题】
“中移链”国密引擎在BSN正式上线
PO模式深入封装
Network counting 01 physical layer
122. Thread class thread method summary; Why is the thread start method start () not run ()?
ES6 decoupling top-level objects from windows
js valueOf 与 toString 区别
Drive away bad emotions and stop worrying
奇怪,为什么ArrayList初始化容量大小为10?
炒币,亏了1000万。
Weidongshan board compilation kernel problem solving
架构实战营 模块九:设计电商秒杀系统
Project procurement management
Differences between JS valueof and toString
全球基金和资管的股票建仓率达到15年内新低
js作用域链与闭包
京东与腾讯续签三年战略合作协议;起薪涨至26万元!韩国三星SK争相加薪留住半导体人才;Firefox 102 发布|极客头条...
PHP array functions (merge, split, append, find, delete, etc.)
Voice service notes