Re: Basic security question
From: Ivan Brugiolo [MSFT] (ivanbrug_at_online.microsoft.com)
Date: 06/18/04
- Next message: Denis: "IAzClientContext AccessCheck returns 0x80070057"
- Previous message: George: "CSP implementation advice"
- In reply to: Rob Bolton: "Basic security question"
- Next in thread: Arnaud Debaene: "Re: Basic security question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 18 Jun 2004 10:12:33 -0700
Any "remote" call that goes through RPC follows the RPC security model.
RPC uses a function, called RpcStringBindingCompose, either directly,
or through an internal function associated with each type of binding handle.
Most of the "old" NtLanMan style of remotable/remoted APIs
uses Network-Named-Pipes as the transport, SNEGO as the Authentication
Service,
PKT_PRIVACY as the authentication level, and Identity Tracking.
Given the combination of all these factors,
unless you have run someting like "net use \\machinename\IPC$",
the APIs will use the identity of the current thread
to perform the remote RCP call.
Basically, you can set a breakpoint in RpcStringBindingCompose
and RpcBindingSetAuthInfoEx and you will get all the real params.
-- This posting is provided "AS IS" with no warranties, and confers no rights. Use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm "Rob Bolton" <_nospam@_nospam.com> wrote in message news:Oa5RqiMVEHA.1292@TK2MSFTNGP10.phx.gbl... > Hi there. I'm very familiar with the basic Windows security model in > general, but can someone set me straight on what account is used to process > a (non-COM) call to a remote machine? For instance, if I call any given API > function that takes a machine name argument, such as "RegConnectRegistry()" > or "OpenSCManager()" among others, what account does this processing > actually occur under on that machine? Also, how am I authenticated? Any > links would be appreciated as well. Thanks. > >
- Next message: Denis: "IAzClientContext AccessCheck returns 0x80070057"
- Previous message: George: "CSP implementation advice"
- In reply to: Rob Bolton: "Basic security question"
- Next in thread: Arnaud Debaene: "Re: Basic security question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|