久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    • <bdo id='5qjTo'></bdo><ul id='5qjTo'></ul>

    1. <legend id='5qjTo'><style id='5qjTo'><dir id='5qjTo'><q id='5qjTo'></q></dir></style></legend>

      <small id='5qjTo'></small><noframes id='5qjTo'>

    2. <i id='5qjTo'><tr id='5qjTo'><dt id='5qjTo'><q id='5qjTo'><span id='5qjTo'><b id='5qjTo'><form id='5qjTo'><ins id='5qjTo'></ins><ul id='5qjTo'></ul><sub id='5qjTo'></sub></form><legend id='5qjTo'></legend><bdo id='5qjTo'><pre id='5qjTo'><center id='5qjTo'></center></pre></bdo></b><th id='5qjTo'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='5qjTo'><tfoot id='5qjTo'></tfoot><dl id='5qjTo'><fieldset id='5qjTo'></fieldset></dl></div>

        <tfoot id='5qjTo'></tfoot>
      1. 可執(zhí)行文件是否可以要求管理員權(quán)限?(Windows 7的

        Is it possible for the executable to ask for Administrator rights? (Windows 7)(可執(zhí)行文件是否可以要求管理員權(quán)限?(Windows 7的))

        <small id='qaLmo'></small><noframes id='qaLmo'>

            <bdo id='qaLmo'></bdo><ul id='qaLmo'></ul>

            • <tfoot id='qaLmo'></tfoot><legend id='qaLmo'><style id='qaLmo'><dir id='qaLmo'><q id='qaLmo'></q></dir></style></legend>
                  <tbody id='qaLmo'></tbody>

                  <i id='qaLmo'><tr id='qaLmo'><dt id='qaLmo'><q id='qaLmo'><span id='qaLmo'><b id='qaLmo'><form id='qaLmo'><ins id='qaLmo'></ins><ul id='qaLmo'></ul><sub id='qaLmo'></sub></form><legend id='qaLmo'></legend><bdo id='qaLmo'><pre id='qaLmo'><center id='qaLmo'></center></pre></bdo></b><th id='qaLmo'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='qaLmo'><tfoot id='qaLmo'></tfoot><dl id='qaLmo'><fieldset id='qaLmo'></fieldset></dl></div>
                  本文介紹了可執(zhí)行文件是否可以要求管理員權(quán)限?(Windows 7的)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我正在開發(fā)一個分區(qū)磁盤程序,我需要管理員權(quán)限才能讀取\\.\PhysicalDrive0.

                  I am developing a partition disk program, and for me to read the \\.\PhysicalDrive0 I need admin rights.

                  我想知道程序是否有可能在運行時獲得管理員權(quán)限?有沒有win api?

                  I am wondering if it is possible, in the run time, for the program to gain admin rights? Is there any win api for that?

                  我想這樣做是因為我希望程序僅在讀取/寫入磁盤時以管理員權(quán)限執(zhí)行.出于安全原因,我不希望該程序始終以管理員權(quán)限執(zhí)行,因為有人可能會在某個模塊中發(fā)現(xiàn)錯誤(例如堆?;蚨岩绯?并以 adm 身份執(zhí)行任意命令.

                  I want to do that because I want the program to execute with admin rights only when it is reading/writing the disk. For security reasons, I don't want the program to execute all the time with admin rights, because someone could find a bug (stack or heap overflow for example) in some module and execute arbitrary commands as adm.

                  推薦答案

                  在進程開始后,您將無法獲得提升的權(quán)限.您的選擇是:

                  You cannot acquire elevated privileges after the process has started. Your options are:

                  1. 將需要提升權(quán)限的應(yīng)用程序部分放入一個單獨的進程中,并使用 requireAdministrator 進行說明.
                  2. 將需要提升權(quán)限的應(yīng)用程序部分作為進程外 COM 對象運行.

                  這篇關(guān)于可執(zhí)行文件是否可以要求管理員權(quán)限?(Windows 7的)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  In what ways do C++ exceptions slow down code when there are no exceptions thown?(當(dāng)沒有異常時,C++ 異常會以何種方式減慢代碼速度?)
                  Why catch an exception as reference-to-const?(為什么要捕獲異常作為對 const 的引用?)
                  When and how should I use exception handling?(我應(yīng)該何時以及如何使用異常處理?)
                  Scope of exception object in C++(C++中異常對象的范圍)
                  Catching exceptions from a constructor#39;s initializer list(從構(gòu)造函數(shù)的初始化列表中捕獲異常)
                  Difference between C++03 throw() specifier C++11 noexcept(C++03 throw() 說明符 C++11 noexcept 之間的區(qū)別)
                1. <small id='6Rc9n'></small><noframes id='6Rc9n'>

                  1. <tfoot id='6Rc9n'></tfoot>
                      <tbody id='6Rc9n'></tbody>
                      <bdo id='6Rc9n'></bdo><ul id='6Rc9n'></ul>

                            <legend id='6Rc9n'><style id='6Rc9n'><dir id='6Rc9n'><q id='6Rc9n'></q></dir></style></legend>
                          • <i id='6Rc9n'><tr id='6Rc9n'><dt id='6Rc9n'><q id='6Rc9n'><span id='6Rc9n'><b id='6Rc9n'><form id='6Rc9n'><ins id='6Rc9n'></ins><ul id='6Rc9n'></ul><sub id='6Rc9n'></sub></form><legend id='6Rc9n'></legend><bdo id='6Rc9n'><pre id='6Rc9n'><center id='6Rc9n'></center></pre></bdo></b><th id='6Rc9n'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='6Rc9n'><tfoot id='6Rc9n'></tfoot><dl id='6Rc9n'><fieldset id='6Rc9n'></fieldset></dl></div>
                            主站蜘蛛池模板: 国产乱码精品一区二区三区中文 | 欧美精品一区二区三区蜜桃视频 | 99久久久无码国产精品 | 精品福利一区 | 欧美综合一区二区三区 | 久热国产在线 | 日韩成人 | 国产黄色大片在线观看 | 日韩免费看片 | 午夜欧美日韩 | 狠狠干美女 | a黄视频| av色站| 亚州春色 | 在线国产一区 | 欧美成人aaa级毛片在线视频 | 91精品国产欧美一区二区成人 | 亚洲情视频 | 国产精品免费看 | 丝袜美腿一区二区三区 | 亚洲精品久久久久久久久久吃药 | 一区二区三区精品视频 | 欧美国产精品一区二区三区 | 亚洲精品久久久蜜桃网站 | 日韩视频专区 | 日韩精品1区2区 | 国产不卡视频 | 在线观看 亚洲 | 亚洲一区二区三区免费观看 | 97精品超碰一区二区三区 | 欧美亚洲另类丝袜综合网动图 | 99re在线视频| 国产精品视频在 | 夜夜爆操 | 久久精品色欧美aⅴ一区二区 | 国产美女在线观看 | 国产一区二区日韩 | 日韩激情免费 | 成人午夜av| 亚洲巨乳自拍在线视频 | 综合激情久久 |