特定のユーザーとしてコードを実行するにあたって、偽装は便利なメカニズムです。 これによりスレッドにトークンが割り当てられ、 スレッドが特定のユーザーとしてコードを実行できるようになります。 それでは、プロセスに任意のトークンを割り当てるにはどうすればよいでしょうか。 プロセスにトークンが割り当てられるのは、プロセスの作成時です。 CreateProcessで作成したプロセスは、呼び出し元のプロセスのトークンのコピーが割り当てられますが、 CreateProcessAsUserやCreateProcessWithLogonW、そしてCreateProcessWithTokenWでは、 任意のトークンを割り当てられます。 よって、今回はこれらの関数について見ていきます。 多くの引数はCreateProcessと同じ意味を持つため、重要な部分のみを取り上げます。 BOOL WINAPI Crea
This article describes how to launch an application from session 0 to session 1 under the local system account using a service helper application Download source files (SessionLauncher.zip) - 23.0 KB Download source files (a.zip) - 4.8 KB Introduction In Vista, I came across a problem where I wanted to launch an exe under an administrator account to perform certain tasks. I could not do that becau
前項により、管理者ユーザーに「C:\Windows」などのシステムフォルダのフルアクセス権限を与えたままにしておくことは、つまりウインドウズリソース保護 Windows Resource Protect (WRP)が無効になっているという事と同じです。 これをこのままにしておくと、セキュリティ上の観点から見て好ましいものではありません。 そこで、管理者ユーザーのアクセス権限を元に戻し、システムフォルダの所有者を「TrustedInstaller」に戻したいという事態になるのですが、このときちょっとした注意が必要です。 所有者を「他のユーザーまたはグループ」から指定する際には、「TrustedInstaller」ではなく、「NT SERVICE\TrustedInstaller」と記述しなければなりません。 この点にさえ気をつけておけば、所有者を「TrustedInstaller」に戻す事が
このブラウザーはサポートされなくなりました。 Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。 Microsoft Corporation February 2003 適用対象: Visual Basic 6.0 Visual Basic .NET 要約: この記事では、Code Advisor for Visual Basic 6.0 にコード検証ルールを追加する方法を説明します。Code Advisor には、標準的なコーディングおよびコーディングのアップグレード時によく発生する多くの問題を検証できるように、一連のルール が用意されています。Code Advisor Rule Development アプリケーションを使用すると、必要に応じて他の問題点に関するルールを追加できます。 こちらから Co
Here we discuss the user-agent string, which identifies your browser and provides certain system details to servers hosting the websites you visit. We'll also learn how to view your user-agent string, understand tokens used by recent versions of Windows Internet Explorer, and understand registry keys that affect the user-agent string. We'll cover these sections. Introduction Understanding the user
Executive summary The Visual Basic team is committed to "It Just Works" compatibility for Visual Basic 6.0 applications on the following supported Windows operating systems: Windows 11 Windows 10 Windows 8.1 Windows 7 SP1 Windows Server 2022 Windows Server 2019 Windows Server 2016 Windows Server 2012 R2 Windows Server 2008 R2 The Visual Basic team’s goal is that Visual Basic 6.0 applications conti
2010年5月27日開催 HTML5 TechTalkスペシャル http://docs.google.com/View?id=dfwmsc7v_132gnp58vhp 書き留めた範囲で書いときます。色々と抜けてますことご了承下さい。 W3C Widget、どこが面白い?(W3C Widget開発入門) - ダニエル・デイビス プレゼン資料(PDFファイル) http://people.opera.com/danield/presentations/widgets/widgets-why_ja.pdf モバイルで利点が大きい。 DLデータサイズが小さくなる。 Opera 9.6.4 OSから独立して動作 W3C版のファイルアクセスはFile APIを使用する流れになりそう 設定ファイルのXML仕様 Widget Packaging and Configuration http://www.
Why doesn’t Office just fix all of the bugs before they ship it http://blogs.technet.com/b/office_sustained_engineering/archive/2008/12/12/why-doesn-t-office-just-fix-all-of-the-bugs-before-they-ship-it.aspx 以前にもどこかで紹介したような気がするが、Office Sustained Engineering という Office 開発チームのブログで (ずいぶん以前の記事なのだけど) どうして Office 製品のバグが出荷前に無くせないのかについて論じたとても興味深い記事がある。この記事「Why doesn’t Office just fix all of the bugs befor
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く