Re: Can a file be blocked for anyone at network level?
- From: "Vadym Stetsyak" <vadym_s@xxxxxxx>
- Date: Fri, 2 Dec 2005 10:10:46 +0200
AFAIK it will be suffucient to call CreateFile ( ... FILE_SHARE_READ .... )
parameter, so that file will be shared only for reading... Network
redirector will do the rest of the job.
However, do not forget that "client" has to have sufficient permissions to
open file in that mode ( in NTFS )...
--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
"Pablo J. Royo" <PabloJRoyo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9F56F45C-AA8E-448A-B053-806427B7773E@xxxxxxxxxxxxxxxx
> Hello:
>
> I need to block a file stored in a server from a "client" computer, so
> anybody wouldn?t be able to write in it as long as the "client" hold the
> lock.
> How can I achieve this?
> Will LockFile work also at network level as it does at local level?
>
> Thanks
>
.
- Follow-Ups:
- Re: Can a file be blocked for anyone at network level?
- From: Arkady Frenkel
- Re: Can a file be blocked for anyone at network level?
- Prev by Date: Re: Wireless Provisioning Services and IAS Authorization DLL
- Next by Date: Re: bind does not get correct interface
- Previous by thread: Win32 Multicast Problem
- Next by thread: Re: Can a file be blocked for anyone at network level?
- Index(es):
Relevant Pages
|