Offline folders / CSC problems

Hi all,

I have an FSD for on the fly encryption.
The FSD is working OK both for local and for remote files by encrypting
the paging IO for the local files and paging/non paging IO for remote
files, depending if caching is enabled for each file.

However, if the user selects a folder on the network as available offline
(using the ‘offline folder’ feature), and that folder contains an encrypt
file, things starts to get messy - sometimes the applications read the
files data as garbage - probably because parts of it were either not
decrypted or decrypted twice.

Is there anywhere a description of the offline folder mechanism ?
I saw that under the winnt\csc folder windows contains several system
files and the cached files but I specifically need the following info:

  1. How can I know if a certain folder/file is marked as ‘available
    offline’
  2. How can I know the ‘real’ file name of a file cached in the CSC folders
  3. When an IO occurs for a file marked as available offline, what really
    happens in the FSD level ? How can I tell if the read was satisfied from
    the local cache or from the network ?

Thanks
Rami

First, try to see if your driver works with NTFS encrypted and compressed
files at all.

----- Original Message -----
From:
To: “File Systems Developers”
Sent: Tuesday, July 30, 2002 5:07 PM
Subject: [ntfsd] Offline folders / CSC problems

> Hi all,
>
> I have an FSD for on the fly encryption.
> The FSD is working OK both for local and for remote files by encrypting
> the paging IO for the local files and paging/non paging IO for remote
> files, depending if caching is enabled for each file.
>
> However, if the user selects a folder on the network as available offline
> (using the ‘offline folder’ feature), and that folder contains an encrypt
> file, things starts to get messy - sometimes the applications read the
> files data as garbage - probably because parts of it were either not
> decrypted or decrypted twice.
>
> Is there anywhere a description of the offline folder mechanism ?
> I saw that under the winnt\csc folder windows contains several system
> files and the cached files but I specifically need the following info:
> 1. How can I know if a certain folder/file is marked as ‘available
> offline’
> 2. How can I know the ‘real’ file name of a file cached in the CSC folders
> 3. When an IO occurs for a file marked as available offline, what really
> happens in the FSD level ? How can I tell if the read was satisfied from
> the local cache or from the network ?
>
> Thanks
> Rami
>
> —
> You are currently subscribed to ntfsd as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
>

And also “cut and paste”.

Cary
----- Original Message -----
From: “Dan Partelly”
To: “File Systems Developers”
Sent: Tuesday, July 30, 2002 6:53 AM
Subject: [ntfsd] Re: Offline folders / CSC problems

> First, try to see if your driver works with NTFS encrypted and compressed
> files at all.
>
> ----- Original Message -----
> From:
> To: “File Systems Developers”
> Sent: Tuesday, July 30, 2002 5:07 PM
> Subject: [ntfsd] Offline folders / CSC problems
>
>
> > Hi all,
> >
> > I have an FSD for on the fly encryption.
> > The FSD is working OK both for local and for remote files by encrypting
> > the paging IO for the local files and paging/non paging IO for remote
> > files, depending if caching is enabled for each file.
> >
> > However, if the user selects a folder on the network as available
offline
> > (using the ‘offline folder’ feature), and that folder contains an
encrypt
> > file, things starts to get messy - sometimes the applications read the
> > files data as garbage - probably because parts of it were either not
> > decrypted or decrypted twice.
> >
> > Is there anywhere a description of the offline folder mechanism ?
> > I saw that under the winnt\csc folder windows contains several system
> > files and the cached files but I specifically need the following info:
> > 1. How can I know if a certain folder/file is marked as ‘available
> > offline’
> > 2. How can I know the ‘real’ file name of a file cached in the CSC
folders
> > 3. When an IO occurs for a file marked as available offline, what really
> > happens in the FSD level ? How can I tell if the read was satisfied from
> > the local cache or from the network ?
> >
> > Thanks
> > Rami
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@rdsor.ro
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@Authenexgroup.com
> To unsubscribe send a blank email to %%email.unsub%%