Hi
Yeah, What you say is all right. I have made one list now.
Now the trouble is I can not index the list by the file name.
the reason of mine is I can make a good solution for the LFN
(long file name) and 8.3 formation (including the full path).
also we must notice the file in the lan. it is hardly to
tell the exactly URL. Also it will bring trouble when you
copy, move the file from or to floppy disk, cdrom. even
send file by the attached file in mail.
Now I index the list by the opened handle of the file.
But It can not tell us the relation between the two opened
for a same file.
I wish I can find out whether it is an encytped file by
the head of the file. I also meet the trouble, I have mentioned
them in the last mail.
Here is my mainly trouble now. I think I need more excellent
design. I still have not got one. My colleague also have none.
the next trouble is from the encyption algorithm. I use
block encrypt and decrypt algorithm, i.e. DES, IDEA.
But the trouble is that the edge of Lockfile is in the middle
of the block. I must remember all these block in a list. The
trouble is same as the encrypted file list. It is not a good
design to index by file name or opened handle of the file.
(If I write a FSD, I can tell the difference fo files by the
absolute position on the hard disk. “section and partition”.
Now how can I do in the next step.)
Do you have more excellence design?
Good Day and Good Lucky for our file filter.
Best Regards
Jansen Zhu.
Shanghai China.
Jujo. Elec. Co.
P.S. Would you please tell me which countory the .cz means.
I have interest in knowing it.
----- Original Message -----
From: MARI
To: ‘xxxxx@citiz.net’
Sent: Tuesday, August 22, 2000 6:12 PM
Subject: RE: file header.
Hi Jansen,
Your filter driver must store information about opened -encrypted files. If you have such a list, you can handle only two situations:
- File is on the list - you know it is encrypted
- File isn’t on the list - you can try to reopen it before you pass I/O Request to the next FSFD or FSD and read all you need.
If this open fail, then file doesn’t exist or file is a directory or file is non encrypted (file is already opened and it is not on your list).
There are also some dirty tricks - you can open file with only synchronize access specified and then use paging io to read (and even write) file data.
Best regards
mari
-----Original Message-----
From: xxxxx@citiz.net [mailto:xxxxx@citiz.net]
Sent: Tuesday, August 22, 2000 11:41 AM
To: xxxxx@decros.cz
Subject: file header.
Hi Mari,
??? I have same project as you do now.
I must encypte some data file and add a
header, which present the user’s accessing
right.
??? Now I have implement a simple demo.
But, It still have lot of bug to debug.
Now I fall in some mess. I wish I can discuss
these problem with you.
Problem 1. The Shared Access Right.
if An application open my ecryped file with
the flag deny everything (and do not close
the handle at once). So It also means My
driver can not open the file and read the
head correctly. How can I do? (I’m researching
the best solution by now.)
???I will provide more question to discuss with
you. If you have interest in knowing these
question. wish to get help from you.
??? Good Day.
Best Regards
Jansen Zhu.
Shanghai China.
Jujo Elec. Co.
----??ӭʹ???ʯ?ʾ?-----