Lock a file / Directory
-
Hi, How do u prevent a user from reading a file / Opening a Directory in windows. I want All the files / Directories to be locked
Luck is Opportunity with hardwork
What do you mean by "locked?" You can open a file exclusively that would prevent others from opening it. Or you could change the permissions of the file/folder such that only certain users/groups can access it.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
What do you mean by "locked?" You can open a file exclusively that would prevent others from opening it. Or you could change the permissions of the file/folder such that only certain users/groups can access it.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
Ok,I will be in brief.. If a user tries to access a file in windows A request is sent to the Server machine and a messagebox pops up indicating the a user is trying to access a file in the client....The admin in the server allows or denies access to a file ..Suppose if the admin denies access a control message is sent to the client..And The user gets a message that "The File cannot be viewed B'coz you are denied access" and if he permits the file Opens in the Client Machine. I have a service running in the Client and another in the Server ... -- modified at 17:37 Friday 11th August, 2006
Luck is Opportunity with hardwork