Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have had problem reading from nework location using CreateFile. Every thing seem to be right. I am now forced to suspect that the problem is with my defined DACL.
Every of my use of CreateFile used a DACL for its security descriptor that is of the follwing format:

DENY ACCESS TO BUILT IN GUEST
DENY ACCESS TO ANONYMOUS USERS
GRANT READ,WRITE AND EXECUTE ACCESS TO AUTHENTICATED USERS
GRANT FULL CONTROL TO ADMINISTRATOR

If CreateFile funtion tries open a file in a remote network location that was created using the above security description, will the said security descriptor cause CreateFile to return an INVALID_HANDLE_VALUE? All I am tryi8ng to do is to find out why I had been unabl;e to read from network location using CreateFile.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900