当前位置:网站首页>C process running permission
C process running permission
2022-07-24 07:02:00 【lifei_ 0001】
Environmental statement : VS2012,windows 7 Personally verified win7 and xp ,XP No pop-up directly , because XP No, UAC Control mechanism
step 1:
Right click on the item --》 attribute --》 Security --》 Choose 【 Enable ClickOnce Security Settings 】
At this time, under our project Properties There is another name in the directory app.manifest The file of
step 2:
The code in the file is as follows , We just need to change the following sentence
<requestedExecutionLevel level="asInvoker" uiAccess="false" /> Change it to <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
asInvoker : If you choose this , The application is running with the current permissions .
highestAvailable: This is run with the highest privileges available to the current user .
requireAdministrator: This is only run with system administrator privileges .
By default asInvoker.
highestAvailable and requireAdministrator These two options can prompt the user to obtain the system administrator rights . So what's the difference between the two options ?
The difference is ,highestAvailable Execute according to the permissions that can be obtained by the current account , and requireAdministrator It is run by an administrator with full permissions That's ok . If the current account is an administrator account , Then both of them can obtain the administrator's permission by raising the permission ; And if the current account is Guest Words , that highestAvailable Give up the privilege promotion and run directly , and requireAdministrator It is allowed to enter the password of other administrator accounts to enhance permissions .
From blog Park :
边栏推荐
- Input some data and find the maximum output. (keyboard and file reading)
- Record the pits encountered in the deserialization of phpserializer tool class
- HashSet转数组
- GE口:SGMII模式和serdes模式
- XXL execute node error log swiping
- You are you, and no one can replace you
- STM32 external interrupt (register version)
- owasp top10 渗透测试
- An AI plays 41 games, and the comprehensive performance score of Google's latest multi game decision transformer is twice that of dqn
- OWASP TOP10 penetration test
猜你喜欢

Redis 主从机制

Redis特殊数据类型-HyperLogLog

不运动也能增肌???打一针冬眠黑熊的血清就行

Mac解决 Can‘t connect to local MySQL server through socket ‘/tmp/mysql.sock‘ (2)问题

极客星球丨 字节跳动一站式数据治理解决方案及平台架构
![[lvgl (6)] display Chinese settings and make Chinese font](/img/a4/1b0d0b7a5789ecc8f9a2a8cd93d92e.png)
[lvgl (6)] display Chinese settings and make Chinese font
![[waveform / signal generator] Based on stc1524k32s4 for C on Keil](/img/62/8bf96bf7617cc9b2682b5a32711878.png)
[waveform / signal generator] Based on stc1524k32s4 for C on Keil
![[lvgl (5)] label usage](/img/55/f25a510cf04caff7ee15e72360c3a1.png)
[lvgl (5)] label usage

tensorflow einsum函数

Three level classification / menu query tree structure
随机推荐
Nodejs enables multi process and inter process communication
Libevent and multithreading
Redis 分片集群
MySQL gets the self incrementing line mark (different from MySQL version)
HashSet转数组
【学习笔记】网页出现白屏可能的原因与优化方法
Day (0~6) represents the starting position of the first day of each month, stop represents the number of days of each month, and there are two blank spaces between each day. Input different days and s
Redis 主从机制
[waveform / signal generator] Based on stc1524k32s4 for C on Keil
Jinan renshe has signed 1w+ electronic labor contract, which greatly helps HR digitalization
三级分类/菜单的查询——树形结构
在线问题反馈模块实战(十二):实现图片删除功能
Redis data type -string (string type)
Lambda expressions sort list objects in multiple fields
Metaltc5.0 realizes webrtc version IPC of Junzheng pure C
使用root用户为创建新用户并设置密码
别太在意别人的眼光,那会抹杀你的光彩
Input some data and find the maximum output. (keyboard and file reading)
OWASP TOP10 penetration test
Don't care too much about others' eyes, it will erase your glory