EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Protecting Excel files

Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.
#28687
Posted: 03/05/2014 23:18:54
by manish mahor (Standard support level)
Joined: 02/26/2014
Posts: 33

let me first describe what I have done.

Using Encrypt with header sample vc++.

The PowerPoint and Word create temporary file with .tmp as extension and if we assign filter as "POWERPNT.EXE | *.tmp" or "WINWORD.EXE | *.tmp" all the files saved by powerpoint or word will be encrypted.

But the saving in excel is different. It creates a temp file without any extension.
Look this page on Microsoft site: http://support.microsoft.com/kb/814068


The problem is how to assign filter for a file without any extension.

If we assign filter for *.xls or *.xlsx, files do not get encrypted.

If we assign a folder, encryption is perfect because it takes all the files included files without extension.

But my requirement is different and folder option is not suitable.

So my question is:

1. Is there any way to assign a file without any extension

2. What is a work around for excel.
#28689
Posted: 03/06/2014 02:34:08
by Vladimir Cherniga (EldoS Corp.)

You can try to set a filter mask in a form of "???????" with a fixed number of '?'
#28691
Posted: 03/06/2014 03:20:55
by manish mahor (Standard support level)
Joined: 02/26/2014
Posts: 33

I used "EXCEL.EXE|????????" (8 digits) as excel always creates file with 8 digits (I check with Process Monitor)

But there is no change in result, i.e. files are still not encrypted.

In addition to above filter , in next try I added "xls and xlsx" also in the filter but still no change.

Having workable solution is excel is important for us.
#28692
Posted: 03/06/2014 03:51:08
by Vladimir Cherniga (EldoS Corp.)

Did you check that excel creates temp files in the same folder with edited file ? I suppose that it may create a temp files in a Windows user directory entry.
#28693
Posted: 03/06/2014 03:54:56
by manish mahor (Standard support level)
Joined: 02/26/2014
Posts: 33

this page on Microsoft site: http://support.microsoft.com/kb/814068 says that temp file (without extension is created in the same folder.

I have further checked in with process monitor also.


This page http://support.microsoft.com/kb/214073 makes it further clear that temp file is made in the same folder.
#28694
Posted: 03/06/2014 04:06:06
by Vladimir Cherniga (EldoS Corp.)

Quote
I used "EXCEL.EXE|????????" (8 digits) as excel always creates file with 8 digits (I check with Process Monitor)

Did you try to set filter not specifying process name ? For example "c:\test_folder\????????" Moreover, I suppose you've set filter rule for xls files as well, not only for the temp files ?
#28696
Posted: 03/06/2014 04:59:21
by manish mahor (Standard support level)
Joined: 02/26/2014
Posts: 33

I have set filter for xls files.

Plus I tried with:

1. "????????"

2. "c:\test_folder\????????" (test_folder is where I tried having xls file.

In both cases xls file is normal.


If I set filter to a specific folder like "c:\test_folder\*.*" xls file gets encrypted. But this does not meet my requirement.

I need to have "*.xls" working with process name.

For "*.ppt" and "*.doc" I added "*.tmp" because .tmp file is made and renamed. and it works perfectly.

The problem is with excel which saves a file without extension and then renames it.
#28760
Posted: 03/12/2014 03:23:44
by manish mahor (Standard support level)
Joined: 02/26/2014
Posts: 33

I am waiting for reply.
#28762
Posted: 03/12/2014 03:34:44
by Vladimir Cherniga (EldoS Corp.)

I've moved the question to helpdesk. Did you receive a corresponding letter ?
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.

Reply

Statistics

Topic viewed 3050 times

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




|

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!