Hi all,

I would like to know if it is possible to prevent a user to remove files
from a memory card (without write-locking it)?

Thanks a lot.

Re: How to prevent file deletion on a memory card? by TJ

TJ
Mon Jun 20 16:09:04 CDT 2005

The only way is to keep a process running in memory that opens the file.
Make sure the share mode is FILE_SHARE_READ | FILE_SHARE_WRITE.

djarjar wrote:
> Hi all,
>
> I would like to know if it is possible to prevent a user to remove files
> from a memory card (without write-locking it)?
>
> Thanks a lot.

Re: How to prevent file deletion on a memory card? by djarjar

djarjar
Tue Jun 21 01:13:01 CDT 2005

Thanks a lot TJ.

"TJ" wrote:

> The only way is to keep a process running in memory that opens the file.
> Make sure the share mode is FILE_SHARE_READ | FILE_SHARE_WRITE.
>
> djarjar wrote:
> > Hi all,
> >
> > I would like to know if it is possible to prevent a user to remove files
> > from a memory card (without write-locking it)?
> >
> > Thanks a lot.
>