EldoS | Feel safer!

Software components for data protection, secure storage and transfer

File damaged when saved on network drive

Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.
#36453
Posted: 04/12/2016 07:31:15
by Manoj Jain (Standard support level)
Joined: 02/28/2013
Posts: 94

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
#36455
Posted: 04/12/2016 10:13:22
by Eugene Mayevski (EldoS Corp.)

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
#36456
Posted: 04/12/2016 10:15:07
by Vladimir Cherniga (EldoS Corp.)

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

Code
  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);

                    mFilter.AddFilterCallbackRule(FIlterValue,
                        CbFltCallbackFlags.ReadCallback |
                        CbFltCallbackFlags.WriteCallback |
                        CbFltCallbackFlags.CreateCallback |
                        CbFltCallbackFlags.RenameCallback |
                        CbFltCallbackFlags.SetSizesCallback |
                        CbFltCallbackFlags.EnumerateDirectoryCallback |
                        CbFltCallbackFlags.OpenCallback |
                        CbFltCallbackFlags.CloseCallback |
                        CbFltCallbackFlags.GetSizesCallback);





                }  // 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.
#36460
Posted: 04/13/2016 05:50:53
by Vladimir Cherniga (EldoS Corp.)

It is assumed that we may continue discussion about the same problem in the helpdesk ticket, you've just opened, isn't it ?
Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.

Reply

Statistics

Topic viewed 2608 times

none




|

Back to top

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

Got it!