Hi,

I need to hide my customized gina files away from the user. Basically, the
gina file resides in the \windows folder. I can write file system filter to
hide files in the external storage device but not the persistant store.

How can I go about hiding the files ?

Re: Hide my own files by JamesCool

JamesCool
Wed Apr 16 01:48:21 PDT 2008

Please try using hide flag in file section...

cutebisapple wrote:
>Hi,
>
>I need to hide my customized gina files away from the user. Basically, the
>gina file resides in the \windows folder. I can write file system filter to
>hide files in the external storage device but not the persistant store.
>
>How can I go about hiding the files ?

--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200804/1


Re: Hide my own files by cutebisapple

cutebisapple
Wed Apr 16 02:04:01 PDT 2008

JamesCool wrote:
>Please try using hide flag in file section...
>
>>Hi,
>>
>[quoted text clipped - 3 lines]
>>
>>How can I go about hiding the files ?

Thanks. Are you referring to SetFileAttributes or MountAsHidden Flag in the
registry ? Where can I get more details on this ?


Re: Hide my own files by Silver

Silver
Wed Apr 16 14:31:17 PDT 2008

SetFileAttributes.

MountAsHidden is completely different.

Geoff
--

Re: Hide my own files by cutebisapple

cutebisapple
Wed Apr 16 19:19:33 PDT 2008

If I use SetFileAttributes to hide the file, the user can still see the file
by enabling the "Show All Files" option in File Explorer. What can I do to
prevent all users from seeing the file at all ?

Silver wrote:
>SetFileAttributes.
>
>MountAsHidden is completely different.
>
>Geoff
>--

--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200804/1


Re: Hide my own files by Michel

Michel
Wed Apr 16 22:44:35 PDT 2008

Write a file system filter that hides your files...


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

cutebisapple via PocketPCJunkies.com wrote:
> If I use SetFileAttributes to hide the file, the user can still see the file
> by enabling the "Show All Files" option in File Explorer. What can I do to
> prevent all users from seeing the file at all ?
>
> Silver wrote:
>> SetFileAttributes.
>>
>> MountAsHidden is completely different.
>>
>> Geoff
>> --
>

Re: Hide my own files by cutebisapple

cutebisapple
Thu Apr 17 00:18:25 PDT 2008

I managed to create a ramdisk utility on the WM5 and applied my file system
filter on the Pocket PC. However, the file system filter does not work for
the object store. I understand that the file system filter has to be present
in the ROM in order to work for the object store. I'm not a OEM so I can't
modify or don't know how to modify the ROM to insert my filter.

How can I do to insert the filter or even hide the files ?

Thanks.
Michel Verhagen (eMVP) wrote:
>Write a file system filter that hides your files...
>
>Good luck,
>
>Michel Verhagen, eMVP
>Check out my blog: http://GuruCE.com/blog
>
> GuruCE Ltd.
> Microsoft Embedded Partner
> http://GuruCE.com
> Consultancy, training and development services.
>
>> If I use SetFileAttributes to hide the file, the user can still see the file
>> by enabling the "Show All Files" option in File Explorer. What can I do to
>[quoted text clipped - 6 lines]
>>> Geoff
>>> --

--
Message posted via http://www.pocketpcjunkies.com


Re: Hide my own files by Michel

Michel
Thu Apr 17 00:44:54 PDT 2008

Hmm, yes, sorry for not reading the post correctly...

File system filters are not easy on object store I know... I do know of
one person who did it, but no code is available.

A better question is: why do you want to hide those files and why do you
need those files in the object store (instead of on some external
storage where you can apply a file system filter)?


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

cutebisapple via PocketPCJunkies.com wrote:
> I managed to create a ramdisk utility on the WM5 and applied my file system
> filter on the Pocket PC. However, the file system filter does not work for
> the object store. I understand that the file system filter has to be present
> in the ROM in order to work for the object store. I'm not a OEM so I can't
> modify or don't know how to modify the ROM to insert my filter.
>
> How can I do to insert the filter or even hide the files ?
>
> Thanks.
> Michel Verhagen (eMVP) wrote:
>> Write a file system filter that hides your files...
>>
>> Good luck,
>>
>> Michel Verhagen, eMVP
>> Check out my blog: http://GuruCE.com/blog
>>
>> GuruCE Ltd.
>> Microsoft Embedded Partner
>> http://GuruCE.com
>> Consultancy, training and development services.
>>
>>> If I use SetFileAttributes to hide the file, the user can still see the file
>>> by enabling the "Show All Files" option in File Explorer. What can I do to
>> [quoted text clipped - 6 lines]
>>>> Geoff
>>>> --
>

Re: Hide my own files by cutebisapple

cutebisapple
Thu Apr 17 01:02:17 PDT 2008

Not a problem. Hiding files is just one part of my project. Basically, I have
designed a customized logon program that will trigger whenever the PDA is
powered on. I need to hide this logon program file away from the user so that
the users cannot remove the file or edit the file. The logon program file
must be in the \windows folder because the program is a dll file.

I managed to do some simple api hooking but hooking the FindFirstFileW api
deemed unsuccessful.

Thanks.

Michel Verhagen (eMVP) wrote:
>Hmm, yes, sorry for not reading the post correctly...
>
>File system filters are not easy on object store I know... I do know of
>one person who did it, but no code is available.
>
>A better question is: why do you want to hide those files and why do you
>need those files in the object store (instead of on some external
>storage where you can apply a file system filter)?
>
>Good luck,
>
>Michel Verhagen, eMVP
>Check out my blog: http://GuruCE.com/blog
>
> GuruCE Ltd.
> Microsoft Embedded Partner
> http://GuruCE.com
> Consultancy, training and development services.
>
>> I managed to create a ramdisk utility on the WM5 and applied my file system
>> filter on the Pocket PC. However, the file system filter does not work for
>[quoted text clipped - 22 lines]
>>>>> Geoff
>>>>> --

--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200804/1


Re: Hide my own files by Michel

Michel
Thu Apr 17 01:23:05 PDT 2008


"The logon program file must be in the \windows folder because the
program is a dll file"

Huh? Who told you that?


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

cutebisapple via PocketPCJunkies.com wrote:
> Not a problem. Hiding files is just one part of my project. Basically, I have
> designed a customized logon program that will trigger whenever the PDA is
> powered on. I need to hide this logon program file away from the user so that
> the users cannot remove the file or edit the file. The logon program file
> must be in the \windows folder because the program is a dll file.
>
> I managed to do some simple api hooking but hooking the FindFirstFileW api
> deemed unsuccessful.
>
> Thanks.
>
> Michel Verhagen (eMVP) wrote:
>> Hmm, yes, sorry for not reading the post correctly...
>>
>> File system filters are not easy on object store I know... I do know of
>> one person who did it, but no code is available.
>>
>> A better question is: why do you want to hide those files and why do you
>> need those files in the object store (instead of on some external
>> storage where you can apply a file system filter)?
>>
>> Good luck,
>>
>> Michel Verhagen, eMVP
>> Check out my blog: http://GuruCE.com/blog
>>
>> GuruCE Ltd.
>> Microsoft Embedded Partner
>> http://GuruCE.com
>> Consultancy, training and development services.
>>
>>> I managed to create a ramdisk utility on the WM5 and applied my file system
>>> filter on the Pocket PC. However, the file system filter does not work for
>> [quoted text clipped - 22 lines]
>>>>>> Geoff
>>>>>> --
>

Re: Hide my own files by cutebisapple

cutebisapple
Thu Apr 17 01:48:39 PDT 2008

To auto run my dll, I enter the details in the HKLM\system\init to auto run
my dll and I read somewhere the dll must exist in the \windows for the dll to
run automatically by services.exe. That's why I need to put the dll file in
windows folder.

Storing the file in external storage is out because there is no external
storage slot in the PDA that I'm using. I thinking of creating a persistant
storage that will not disappear whenever I do a soft reset to the PDA. Then I
can apply filter on this new storage.

Thanks.

Michel Verhagen (eMVP) wrote:
>"The logon program file must be in the \windows folder because the
>program is a dll file"
>
>Huh? Who told you that?
>
>Good luck,
>
>Michel Verhagen, eMVP
>Check out my blog: http://GuruCE.com/blog
>
> GuruCE Ltd.
> Microsoft Embedded Partner
> http://GuruCE.com
> Consultancy, training and development services.
>
>> Not a problem. Hiding files is just one part of my project. Basically, I have
>> designed a customized logon program that will trigger whenever the PDA is
>[quoted text clipped - 31 lines]
>>>>>>> Geoff
>>>>>>> --

--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200804/1