how forbid someone to create file in vxd ?

hi all
I want to forbid someone to create and delete files in vxd ,and now I know
how to do forbid some to delete files,like this:
case IFSFN_DELETE:
pir->ir->error = ERROR_ACCESS_DENIED;
return 0;
please give me a hint.
thanks.
zhou yu.


Express yourself instantly with MSN Messenger! Download today it’s FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

You ever notice that the group is NTFSD? This is NT only. OSR does not do
or support 9x. Try the Microsoft device driver newsgroups. Maybe someone
will answer, but very little traffic on 9x lately.

“yu zhou” wrote in message news:xxxxx@ntfsd…
> hi all
> I want to forbid someone to create and delete files in vxd ,and now I know
> how to do forbid some to delete files,like this:
> case IFSFN_DELETE:
> pir->ir->error = ERROR_ACCESS_DENIED;
> return 0;
> please give me a hint.
> thanks.
> zhou yu.
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it’s FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>

Do you mean IFSFN_OPEN? You will have to look at ir_options to see if it is
a create, open, create if, etc.

Neil

----- Original Message -----
From: “yu zhou”
To: “Windows File Systems Devs Interest List”
Sent: Monday, March 21, 2005 8:47 PM
Subject: [ntfsd] how forbid someone to create file in vxd ?

hi all
I want to forbid someone to create and delete files in vxd ,and now I know
how to do forbid some to delete files,like this:
case IFSFN_DELETE:
pir->ir->error = ERROR_ACCESS_DENIED;
return 0;
please give me a hint.
thanks.
zhou yu.

You have to return ERROR_ACCESS_DENIED as well.

yu zhou wrote:

hi all
I want to forbid someone to create and delete files in vxd ,and now I know
how to do forbid some to delete files,like this:
case IFSFN_DELETE:
pir->ir->error = ERROR_ACCESS_DENIED;
return 0;
please give me a hint.
thanks.
zhou yu.


Express yourself instantly with MSN Messenger! Download today it’s FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@alfasp.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Kind regards, Dejan M.
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.