how to sign a digital signature on multiple Excel files? - signature

I send to my boss more than 200 Excel files for signing, somehow do this promtly by VBA or another solutions can be done. Thank you.

You may use a container like ASiC or a XMLDsig signature with manifest.

Related

How can I sign a certificate for an excel file macros from outside - not from usual Excel menus

I have a Java product that can export Excel files. Some of them contain macros. And the client wants them to be certified with a given pfx file
I have the .pfx file given by the client.
I can, of course, supply an excel macros with the certificate by hand. But the aim is to make the code (java) to do it automatically.
Apache poi has docs (https://poi.apache.org/apidocs/dev/org/apache/poi/poifs/crypt/dsig/SignatureInfo.html) about supplying the Excel workbook, not macros, so, it is something different, as far as I understand. At least, in the Excel, the certification for workbook and macros looks in very different ways.
Any automated, no-menu solution is ok, at least, I can call external tools from Java.

Appending/Replacing data in exe without breaking its digital signature

Background:
I have an application to which I want to pass a param at download time, which is actually the id of the advertiser from which it got downloaded. We use this id to report successful installation.
This param will be different for different advertisers. Somebody suggested me here to append the param data at the end of the exe and fetch it. I was able to do so perfectly.
Problem:
The problem now is that if we append in the exe, it breaks the digital signature of exe. If I replace the data with same amount of other data, the digital signature tab remains, but the digital signature becomes invalid.
So is there any way to append/replace data in exe without bothering its digital signature?
It doesn't sound too achievable, maybe make the download a zip with the signed exe and a text file with the code (which it then reads).
Bit of a wild stab in the dark would be to try using NTFS Alternate Data Streams
This may or may not invalidate the signature
You may or may not be able to configure mime types such that the exe could be a single download.
The additional data may or may not be preserved when a file is zipped.

How to digitally sign Images like JPG TIFF and BMP

I wish to digitally sign my image collection which consists of JPG , TIFF , BMP , SWf , Fla files.
My question is how to digitally sign these images? If I sign JPG or Tiff , whether signature will get attached to these files (as it happens in document files like PDF or MS word etc)? If so where it get store in file metadata fields , or remain outside? Can i extract signature data?
Please note I wish to sign these images Individually and do not want to get converted into any other format like PDF. Also I donot wish to sign it using email client.
In general those formats were not designed with signing in mind, so your best option is to create a detached signature and keep it near the file. An alternative is to use wrapping signature but then other software won't be able to display the image until you remove the wrapper.
Storing the signature in metadata can be possible for some formats but what applications would be able to handle this?
I know it has been a long time, but you might want to look into steganography. Metadata can be extracted and removed from files. Steganography will allow you to embed digital signatures(encrypted phrases) in a way that is almost only detectable using statistical analysis.
You can also create a mime container which will contain the original image and a detached signature.
Attached signatures are only useful for specific apps, as they are not standard.
Try answering the posters question folks, and not giving another unneeded and unwanted opinion, it's way to common these days in my humble opinion.
Obviously what the poster asked for is to use a signature to copyright his works, so you need to sign the image, period, And a method to do so.
So let's see... grab Gimp or Photoshop. Get your image and create a new layer with transparent background. write in a signature with your mouse or digital pen in an area near the bottom right edge. Choose merge layers and flatten image. Seems like that would do it.

Need a office 2007 Macro for the below situation?

Here is the situation: We have a mobile app which sends the data entered/captured by user through email to any email client selected by the user. Data/attachments consists of one .csv(excel file) and .jpg file(may be 1to3 pics).
Basically we have automated the manual report filing (before automation, folks use manual report filing using normal/manual paper filing technique).Now i want to create a good looking report in ms word or in excel(if later is not possible) from what i have sent(attachments)to the email.
Few links to give you guys a hint about the target doc file and excel file with attachment.
Excel file: http://i1117.photobucket.com/albums/k596/hitmanx07/Excel.png
Doc file: http://i1117.photobucket.com/albums/k596/hitmanx07/Doc.png
Need a automated solution so that every time user downloads the data from email he/she could possibly change the downloaded excel file into a doc(see attached).
Hope i'm clear
mrana...
Here is the solution for above:
Ms-office Excel's Macros is the solution for this issue. Basically Macros work in such a manner that what steps user performs on excel to solve the issue have been recorded by macros and then user can perform same task within seconds which if done manually could take so many time by use of that recorded macros.
So basically its an automation technique.
Please use this link to see how to deal with all these things.
http://www.csus.edu/training/handouts/workshops/Excel07pivot&macro.pdf
gracius.

How to determine real format of an XLSX Excel file?

I have a well known problem that is described in Extension Warning On Opening Excel Workbook from a Web Site microsoft blog entry. I've added URL rewrite to have URL nicely formatted and my mime type matches exactly XLSX recommended file type. However I still get a warning. I suspect that service that provides me those xlsx files mismatches real file format and extension.
Is there a way to determine real xlsx file format? Something that would say what is the native extension for particular Excel file.
Thanks in advance.
Have you tried changing the mime header from vnd:excel to octet-stream? This will still bring Excel up, albeit not embedded into IE, which vnd:excel does (but I hate vnd:excel anyways because embedding the spreadsheet into the browser screws up the form flow of my web apps).
Did not find an answer for that anyway.
However I've discovered the reason why I get a warning from Excel - any parameter in query string will trigger such a warning, even for static files:
http://localhost/1.xls
works ok
http://localhost/1.xls?testparam=paramvalue
gives a warning.
Will use URL rewrite to encode parameters.

Resources