Click here to Skip to main content
15,881,173 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all
i want to write a file system filter driver to manage and change behavior of some file
but i don't know how can i change file attribute and file permission
which function can set file attribute?
please help me
Posted
Updated 17-Sep-13 19:03pm
v3
Comments
Richard MacCutchan 17-Sep-13 6:57am    
Then you need to do some research into the subject. Google will find you lots of samples that will help.
Ali kianinejad 17-Sep-13 7:00am    
i can't find any function that set attribute from kernel mode
Yvan Rodrigues 17-Sep-13 17:40pm    
Need more info?
What is the problem you're trying to solve?
Why does it need to be implemented as a driver?
What behaviour are you trying to change, and what do permissions have to do with it?

In general terms if you need to perform file system operations at the kernel level, you will need to download the DDK, check out the examples, and take it from there.
Ali kianinejad 18-Sep-13 1:02am    
i was download ddk and write a file system filter driver for manage my file
but i can't set file attribute
i want to set FILE_ATTRIBUTE_HIDDEN on my file
i want to set it from kernel and protect my file in kernel mode
i don't know which function can set file attribute and permission
my file contain some game data that i want to protect it

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