Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 1|回復: 0
打印 上一主題 下一主題

Of less than 2 are not allowed

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
跳轉到指定樓層
樓主
發表於 2023-11-19 12:38:44 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
Uploading it to the store , and requiring users to update it. The idea came to make a plugin in the form of a minimal loader that downloads the real plugin file from the server and embeds it into the VKontakte page. Thus, updating the plugin comes down to replacing the file on the server , without the need to rebuild the archive , and for users to update , because the loader does not change. This is especially convenient at the development and testing stage. Also suitable if you need to give different versions to different users. This model of work was approved by Google Chrome , but Opera prohibited it due to security policy. Working from different computers We use social networks from different computers. It would be stupid to have access to notes from only one of them , I want to see notes on every device. The only way to do this is to store notes on the server , and teach the plugin to recognize the user.

While on the VKontakte page , the user is already authorized ; it is enough to find out who photo editing servies exactly. For this, the VKMemos plugin uses the VKontakte API library. Authorization in the plugin is tied to VKontakte authorization. To use the VKontakte API, you need to create an application . Each application receives a secret key. When the plugin is launched for the first time, the user receives a VKontakte pop up window asking for permission. The user only needs to give consent without entering any data. At the same time, in the browser, the VKontakte library generates a hash code based on the user data and the application s secret key. Each request to the server is signed with this hash code.



The server checks requests for authenticity by recreating the hash code on its side and comparing it with the received one. To fake the code, you need to know the user data and the secret key , known only to the application developer. Data synchronization Notes are stored on the server and linked to the VKontakte user. To speed up the work of the plugin, when launched, it downloads all notes and later displays them not from the server , but locally. Notes are always saved to the server. If you have multiple tabs open , changing notes in one of them will save them to the server , but will not update notes from the server in other tabs. To synchronize the work of several tabs.

回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|GameHost抗攻擊論壇  

GMT+8, 2025-2-22 04:25 , Processed in 0.189205 second(s), 5 queries , File On.

抗攻擊 by GameHost X3.3

© 2001-2017 Comsenz Inc.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |