uac

IE8 won't download a file with a custom mime/type with UAC enabled

放肆的年华 提交于 2019-12-30 20:01:28
问题 I have a .net service running on the local machine (Windows 7 x64, IE8, .net 3.5, C#) that returns a file to the browser in response to a user action. Using firefox or chrome, the file is downloaded properly and our application is launched via a custom mime type and all is well. However, with IE8, I receive a dialog "unable to download file from . Unable to open this internet site. The requested site is either unavailable or cannot be found. Try again later". Using fiddler, I verified that IE

How to get a trusted/verified publisher?

纵然是瞬间 提交于 2019-12-30 06:22:08
问题 When I start my application with administrative permissions (right click on the EXE | Run as administrator), the UAC dialog with an orange or yellow banner appears with the warning that the publisher is unknown. Instead of purchase a certificate, I would like to do it differently. I think there must be possibilities to accomplish that without a purchased certificate. Basically, I want the look and feel when I start, for example, the calc.exe (Calculator in Windows) with administrative

How do I run my application while a UAC dialog window is showing?

与世无争的帅哥 提交于 2019-12-30 03:17:14
问题 I have an application that I wrote in .NET. It needs to remain running and have access the desktop that the UAC dialog windows open on and interact with that desktop using keyboard and mouse events. It's sort of like a VNC program. Imagine you are running a VNC program and a UAC window pops up, you want your VNC program to still be able to control the desktop with the UAC window in it so that the user can move the mouse and click the OK button on the UAC dialog. Can anyone tell me how I would

Windows UAC 实现原理

为君一笑 提交于 2019-12-26 06:55:28
文章目录 Windows UAC 实现原理 1. 工作流程 2. UAC 实现方法(用户登陆过程) 3. UAC 架构 4. 触发UAC 5. UAC 虚拟化 5.1 文件虚拟化(File Virtualization) 5.2 注册表虚拟化 6. UAC进程启动原理 6.1 ShellExecuteExW的执行过程 6.2 _SHCreateProcess 6.3 AicLaunchAdminProcess 6.4 返回 6.5 svchost 服务 7. 总结 Windows UAC 实现原理 在XP的时代,只要是管理员权限的用户,就基本可以为所欲为了,这给编程者带来的方便(例如编程的时候随便干什么事情都是被允许的),但是给客户的使用带来了很大的危害,因为用户权限太大,如果被别有用心的人利用,那么可以非常容易做所有的事情。 从vista开始,微软引入了UAC,解决了这种不安全性,下面看一下UAC的基础知识信息。 1. 工作流程 UAC 是微软在 Windows Vista 以后版本引入的一种安全机制,通过 UAC,应用程序和任务可始终在非管理员帐户的安全上下文中运行,除非管理员特别授予管理员级别的系统访问权限。UAC 可以阻止未经授权的应用程序自动进行安装,并防止无意中更改系统设置。 从图上可以看到,如果要获取管理员权限,通过的路径有以下几条: 进程已经拥有管理权限控制;

Where get whitelist uac binaries?

半城伤御伤魂 提交于 2019-12-25 20:01:13
问题 Where I may get whitelist uac binaries for windows 7. I am try looked in msdn, google, but nothing found. I know about this lists 1 and 2, but how he build them... 回答1: If UAC is enabled, you cannot bypass the UAC prompt, and this is by design. See FAQ: Why can’t I bypass the UAC prompt? for more information. Excerpt: If it were possible to mark an application to run with silently-elevated privileges, what would become of all those apps out there with LUA bugs? Answer: they'd all be marked to

CreateProcessAsUser is successful, but no process is created

北城以北 提交于 2019-12-25 08:17:38
问题 We have a service application which spawns a process in the console session (WTSGetActiveConsoleSessionId) to allow for a desktop control style access to the machine. This works well in most situations however there are some VM's which appear to successfully create the process as far as the result of CreateProcessAsUser is concerned, however the process does not get created. The service runs under the LocalSystem account. The process being started is NOT already running. No virus protection

Run this program as an administrator 2 (Or how to get the licence UAC Admin during the necessary moment) [duplicate]

送分小仙女□ 提交于 2019-12-25 03:23:02
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Run this program as an administrator (Or how to get the licence UAC Admin during the necessary moment) It is the second attempt to receive the answer on a question: Run this program as an administrator (Or how to get the licence UAC Admin during the necessary moment) Unfortunately I have not had time to edit the first question and a theme have closed. Very much I apologise, but my English very bad, therefore it

Manifest for an exe?

家住魔仙堡 提交于 2019-12-24 21:28:57
问题 I have an executable say A.exe, which finds architecture of the OS and depends on the architecture it calls either A64.exe or A86.exe. In this case do I want to have manifests for all the exe's ( A.exe, A64.exe, A86.exe )? Right now I have manifest only for A.exe? 回答1: Yes, each module needs its own manifest. In your case, if you were to start A64.exe from A.exe , and A64.exe does not have a manifest, then A64 will run virtualized, it will not have access to comctl32 v6 and so on. A process

Manifest for an exe?

人走茶凉 提交于 2019-12-24 21:13:17
问题 I have an executable say A.exe, which finds architecture of the OS and depends on the architecture it calls either A64.exe or A86.exe. In this case do I want to have manifests for all the exe's ( A.exe, A64.exe, A86.exe )? Right now I have manifest only for A.exe? 回答1: Yes, each module needs its own manifest. In your case, if you were to start A64.exe from A.exe , and A64.exe does not have a manifest, then A64 will run virtualized, it will not have access to comctl32 v6 and so on. A process

Unable to read registry: System.Security.SecurityException, Requested registry access is not allowed

懵懂的女人 提交于 2019-12-24 13:24:16
问题 I'm getting reported errors from users who are receiving the error "System.Security.SecurityException, Requested registry access is not allowed." when trying to read the registry. I can't think why someone would not have permission to read the registry and I'm unable to reproduce the problem on my Windows 7 PC. Affected users are running .NET 4.0 Here's the C# code I'm using: var baseReg = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32); var key = baseReg