当前位置:网站首页>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
边栏推荐
猜你喜欢
Explain / Desc execution plan analysis
企业微信群:机器人定时提醒功能数据库配置化
Google Earth Engine APP——15行代码搞定一个inspector高程监测APP
shell脚本------条件测试 if语句和case分支语句
Opencv creates a window - cv.namedWindow()
How to Steal $100 Million from the Perfect Smart Contract
Explain / Desc 执行计划分析
C语言小游戏——扫雷
node 格式化时间的传统做法与高级做法(moment)
YOLOv7-Pose尝鲜,基于YOLOv7的关键点模型测评
随机推荐
JWT
STM32入门开发 介绍IIC总线、读写AT24C02(EEPROM)(采用模拟时序)
shell脚本------条件测试 if语句和case分支语句
STM32个人笔记-看门狗
The use of scrapy crawler framework
记一次 .NET 某智慧物流WCS系统CPU爆高分析
ASP.NET Core 6框架揭秘实例演示[30]:利用路由开发REST API
如何从完美的智能合约中窃取 1 亿美元
2022年7月31日--使用C#迈出第一步--使用 C# 创建具有约定、空格和注释的易读代码
Batch大小不一定是2的n次幂!ML资深学者最新结论
Custom Types - Enums, Unions
用OpenCV的边缘检测
怎么找出电脑隐藏的软件(如何清理电脑隐藏软件)
使用ESP32驱动QMA7981读取三轴加速度(带例程)
对于小应用来讲,使用哪款数据库比较好?
基于ModelArts的物体检测YOLOv3实践【玩转华为云】
跨域网络资源文件下载
BGP综合实验
C language game - minesweeper
报告:想学AI的学生数量已涨200%,老师都不够用了