Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 Cordova(Javascript、jquery、ajax、css、html 等)制作了混合 apk,我正在尝试隐藏/加密 ajax 调用,否则调用将被滥用(在线有反编译 apk)。是否有机会使用一些令牌等保护从服务器调用我的 php 文件?
您可以通过实施 oauth2 授权来保护 api。
也许它会有用https://oauth.net/2/grant-types/