当前位置:网站首页>Android Security and Protection Policy
Android Security and Protection Policy
2022-08-01 10:02:00 【snail, Z】
Background:
With the development of applications, application security has become more and more important, and some criminals have begun to decompile or hijack some app source code.Some people even take screenshots and then identify them to obtain other people's content.How should we protect our application when processing it?Next, we can analyze the use of some scenarios
1. Prevent screenshots:
In the system, the logo to prevent screenshots has been provided, we just need to add it
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);

This can only prevent a page from being screened. If all pages are needed, they can be placed in the base class (parent class), and subclasses can be configured by parameters

A screen capture via the IDE will also report an error.

The screen recording is also a black screen.
2. Data encryption
2.1SharedPreferences
TheSharedPreferences class is used more in Android to store temporary data, but the data stored in this class is stored in a folder as an xml file.All, just after rooting the device, find the file
边栏推荐
- 18张图,直观理解神经网络、流形和拓扑
- Google Earth Engine APP——15行代码搞定一个inspector高程监测APP
- 怎么找出电脑隐藏的软件(如何清理电脑隐藏软件)
- Node's traditional and advanced practices for formatting time (moment)
- 可视化——Superset安装与部署
- STM32 Personal Notes - Watchdog
- 世界第4疯狂的科学家,在103岁生日那天去世了
- opencv创建窗口—cv.namedWindow()
- PDMan-国产免费通用数据库建模工具(极简,漂亮)
- 企业微信群:机器人定时提醒功能数据库配置化
猜你喜欢
随机推荐
淘宝商品详情又见淘宝详情,升级高级版 API
笔记。。。。
微信公众号授权登录后报redirect_uri参数错误的问题
InputStream转成String
ASP.NET Core 6框架揭秘实例演示[30]:利用路由开发REST API
Custom Types - Enums, Unions
pve 删除虚拟机「建议收藏」
C#/VB.NET convert PPT or PPTX to image
SkiaSharp 之 WPF 自绘 五环弹动球(案例版)
高级驾驶辅助系统ADAS简介
PerViT: 神经网络也能像人类利用外围视觉一样观察图像!
scrapy爬虫框架的使用
三子棋(C语言实现)
AC与瘦AP的WLAN组网实验
C语言小游戏——扫雷
记一次 .NET 某智慧物流WCS系统CPU爆高分析
Explain / Desc 执行计划分析
朴素贝叶斯--学习笔记--基本原理及代码实现
指针的介绍及应用
Node's traditional and advanced practices for formatting time (moment)









