Authenticate connection as remote user
- From: "GKar Racer" <gkarracer@xxxxxxxxxxx>
- Date: 25 Jul 2005 16:16:07 -0700
I need to secure a connection to a server (most likely TCP, but I'm
open to whatever works) based on file security. In a sense, the client
app "opens" a file on the server, but in reality this file is served up
by the server application. However, I do not wish to bypass security on
this file. The same security procedure or as close as possible needs to
be applied.
The client machine will already have a "logon" session to the server
via a network share/mapped drive. I would like to use the same
credentials of this share so that the user does not have to logon to
the server again.
In a nutshell, I need to be able to transfer the user's security token
for the open share/mapped drive to the server so that the server app
can properly authenticate file access.
>>From what I can gather so far SSPI seems like it might be the way to
go. As yet I'm not very familiar with SSPI, but I'm still looking into
it.
The problem I have though is how to get the right security token. For
the most part everything is geared toward the local logged on user.
This is easily NOT the same user that is logged onto the server/share.
For example, let's say the server is MachineS and the client is
MachineC. The user is logged on locally as MachineC\Bob, but is logged
on to the share as MachineS\BobSmith. Everything works perfectly in
Explorer and normal file I/O, of course. But, how do I authenticate as
MachineS\BobSmith and not as MachineC\Bob?
.
- Follow-Ups:
- Re: Authenticate connection as remote user
- From: Eugene Gershnik
- Re: Authenticate connection as remote user
- Prev by Date: Re: Bidirectional RPC communication, [callback] or client string binding?
- Next by Date: how to code single tcp syn packet to host in .net with c#?
- Previous by thread: how to build a remote login application
- Next by thread: Re: Authenticate connection as remote user
- Index(es):
Relevant Pages
|
Loading