|
Pipe Security
A server process uses the ImpersonateNamedPipeClient function to assume the security token of the client process connected to the
specified pipe instance. This function can be useful in determining whether to
grant the request of a client process. For example, a named pipe server can
provide access to a database or file system to which the server process has
privileged access. When a client process makes a request from the server, the client
typically has some lesser level of security access. By assuming the security
token of the client, the server can attempt to access the protected database. The
system then grants or denies the server's access, based on the security level
of the client. When the server is finished, it uses the RevertToSelf function to restore its original security token.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|