Re: security

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Willy Denoyette [MVP] (willy.denoyette_at_pandora.be)
Date: 12/15/04


Date: Wed, 15 Dec 2004 14:15:38 +0100


"ivang" <ivan_gavrilyuk@hotmail.com> wrote in message
news:eadMWRq4EHA.3864@TK2MSFTNGP15.phx.gbl...
> Hello, Willy!
>
> Thanks for reply.
>
> Yes, it's file server. But i can't check access using file access
> functions,
> this doesn't work when I use impersonation feature (impersonated tokens
> doesn't have access to network shares at all).

No they dont, but if you specify the correct logontype when calling
LogonUser (NETWORK_CLEARTEXT) you will get a direct token with network
access privileges!
If you're like me and don't like impersonation, you simply have to establish
a network logon session (use record) using the "net use" command (from the
command line a logon script), or by calling Win32 API NetUseAdd through
PInvoke.

Willy.



Relevant Pages

  • Conversion to NTFS
    ... This machine is the file server for a small ... >network and I am backing it up with ... >Retrospect is not functioning because I need to have the ... >recommends using the command line command ...
    (microsoft.public.windowsxp.general)
  • RE: Implementation of gigabit infrastructure
    ... which is being backed up over the network to the File Server using ... Backup from Exchange to File Server is really taking a lot of time to ... KB:> How long does the Information Store backup take? ...
    (microsoft.public.windows.server.networking)
  • Windows 2003 server and parallel networks
    ... computer systems and network. ... file server is being replaced by a Windows 2003 ... decided to add a second system in one of the 7 "outbuildings" to give ... then also use it for backup to disk as well ...
    (microsoft.public.windows.server.general)
  • Re: Delayed write failure..... Please Help!
    ... -User A's local machine, Windows XP Prof, fully up to date. ... -The file server has various shared folders on the network. ... -I set up a standard backup using the windows backup to backup the users ...
    (microsoft.public.windowsxp.general)
  • home network multihoming (newbie)
    ... going to install a 2nd NIC in it -- gigabit. ... a file server, it is really fast. ... The network has no problems that I know ... over gigabit for most of its file access. ...
    (microsoft.public.windows.server.networking)