
因此,为了简化 *** 作,我只需要在需要时将所有级别设置为JsON配置文件,我的读者将从中拉出设置并保持级别等级.因此我有100个级别的文件.
我正在考虑这个问题,并意识到没有任何东西阻止攻击者使用像ifunBox这样的工具来浏览JsON文件,找到高级文件,获取内容,覆盖非高级文件,然后播放优质内容免费.
我应该保留JsON文件并加密它们吗?我在想另一种方法是保持每个级别的级别哈希并进行比较,但这需要我的代码文件中有100个哈希值.
有人可以给我一个建议,以便更好地保护我的关卡配置数据,以便优质内容保持优质吗?
谢谢!
解决方法 也许您应该使用苹果 On Demand Resources,以便文件实际上不在应用程序中开始,并且只有在购买完成后它才会下载高级地图总结Benefits of On-Demand Resources
Some of the main ways apps can benefit from on-demand resources
include:Smaller app size. The size of the app bundle downloaded by the user is
smaller resulting in faster downloads and more storage room on the
device.Lazy loading of app resources. The app has resources that are
used only in certain states. The resources are requested when the app
is likely to enter the appropriate state. For example,in a game with
many levels,the user needs only the resources associated with the
current and next levels.Remote storage of rarely used resources. The
app has resources that are used infrequently. The resources are
requested as they are needed. For example,an app tutorial is usually
shown once after the app is opened for the first time,and may never
be used again. The app requests the tutorial on first launch,and then
requests the tutorial only when needed or when new features are added.Remote storage of in-app purchase resources. The app offers in-app purchases that includes additional resources. The resources for purchased modules are requested by the app after it is launched. For example,a user purchases the SuperGeeky emoticon pack in a keyboard app. The app requests the pack after it finishes launching.
以上是内存溢出为你收集整理的ios – 在Swift中保护我的基于JSON的级别配置数据全部内容,希望文章能够帮你解决ios – 在Swift中保护我的基于JSON的级别配置数据所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)