EldoS | Feel safer!

Software components for data protection, secure storage and transfer

File damaged when saved on network drive

Posted: 04/12/2016 07:31:15
by Manoj Jain (Standard support level)
Joined: 02/28/2013
Posts: 95

I am using 3.1.xx version of callbackfilter and using it to encrypt microsoft office files.

Its all working fine when files are saved on local discs but when I save files in network drive or any other system (peer to peer) the files are damaged.

Till now I had not tried on network drive so may be problem was there but just tried recently.

Can you give me where to look or any specific filter requirement
Posted: 04/12/2016 10:13:22
by Eugene Mayevski (Team)

There should not be any problems or differences saving files to the network drive. However, it's possible that Office does behave differently when working with network drives. So maybe, if your software explicitly handles the behavior patterns of Office, the issue is specific to your usage scenario.

The steps to take are
1) test the samples to see if they work correctly or fail too.
2) try CallbackFilter 4 with *your* code to see if the problem persists

Sincerely yours
Eugene Mayevski
Posted: 04/12/2016 10:15:07
by Vladimir Cherniga (Team)

Please specify you CallbackFilter configuration: where does it installed(host or local), filter masks assigned. Thank you.
Posted: 04/13/2016 02:11:03
by Manoj Jain (Standard support level)
Joined: 02/28/2013
Posts: 95

  String[] ProtectedFormatsWord = { "TMP", "tmp", "mht", "mhtm", "docx", "docm", "doc", "dotx", "dotm", "dot", "htm", "html", "rtf", "txt", "xml", "wps", "eps", "pdf" };

                string FIlterValue;

                foreach (string element in ProtectedFormatsWord)

                    //   FIlterValue = "winword.exe|*." + element;
                    FIlterValue = "*." + element;
                    // MessageBox.Show(FIlterValue);

                        CbFltCallbackFlags.ReadCallback |
                        CbFltCallbackFlags.WriteCallback |
                        CbFltCallbackFlags.CreateCallback |
                        CbFltCallbackFlags.RenameCallback |
                        CbFltCallbackFlags.SetSizesCallback |
                        CbFltCallbackFlags.EnumerateDirectoryCallback |
                        CbFltCallbackFlags.OpenCallback |
                        CbFltCallbackFlags.CloseCallback |

                }  // while loop

Filter is applied as above and its working perfect. Never tested earlier on network drive but it worked well on local discs.

I am using C# Encryption sample which was given in help desk with "Header".

In open and create call back I am allowing only "WORDICON.EXE" , WINWORD.EXE, and few other processes.

Driver is installed on node and software is running from the node. Local network.
Posted: 04/13/2016 05:50:53
by Vladimir Cherniga (Team)

It is assumed that we may continue discussion about the same problem in the helpdesk ticket, you've just opened, isn't it ?



Topic viewed 6556 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!