473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Digital signing suggestions

Joe
I want "sign" some files with company information but not necessarily all
files will be signed.
I came up with 2 options: 1 - sign the file itself or 2 - place an encrypted
hashtable or key/value pairs in the file and try to read it.

The file will only be signed by one person and the receiving person
(application) needs to read the signature information.

Also, what sort of decompiling risks are there?

If there are any examples around that would be great!

Thanks for any input,
Joe
Mar 30 '06 #1
3 1303
Hi Joe,

Here is a link about digital signing a file.
You may have a look.
Digitally Sign a PDF or Other Files
http://www.example-code.com/csharp/csSignPdf.asp

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 31 '06 #2
Joe
Hi Peter,

The example in that link in based on a control. I was looking for some
actual code.

-Joe

""Peter Huang" [MSFT]" <v-******@online.microsoft.com> wrote in message
news:PW*************@TK2MSFTNGXA01.phx.gbl...
Hi Joe,

Here is a link about digital signing a file.
You may have a look.
Digitally Sign a PDF or Other Files
http://www.example-code.com/csharp/csSignPdf.asp

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Mar 31 '06 #3
Hi Joe,

Sorry for any confusion.
Based on research, there is no such complete source code and solution
public.
Commonly we can use the .NET code as below to generate and verify
signatures. But for a mature solution, I suggest you use commercial
software.

Generating Signatures
http://msdn2.microsoft.com/en-us/lib...7e(VS.80).aspx

Verifying Signatures
http://msdn2.microsoft.com/en-us/lib...c4(VS.80).aspx

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kim H Madsen | last post by:
I have created a .Net Service that is sending mails using SMTP Server/Exchange Server how do i put in a Digital Signature so the reciver is 100% sure that the mail i from the owner of Server where...
7
by: Guangxi Wu | last post by:
Hi all, Happy New Year. I am using SignedXML and an X509 certificate to digitally sign a SOAP message body and put the signature in the SOAP header for a B2B business application. Can you...
2
by: Martin Høst Normark | last post by:
Hi everyone Has anyone got the least experience in integrating the Digital Signature with an ASP.NET Web Application? Here in Denmark, as I supose in many other countries, they're promoting...
6
by: Matt Frame | last post by:
I have a client that has asked us to get a digital signature certificate and start digitally signing all files we pass between each other. I have heard of the subject and know about the certs but...
1
by: karflips33 | last post by:
Is it possible to automate the signing of Word 2003 docs with Digital Signatures? My problem with the code approach using ActiveDocument.Signatures.Add
5
by: Mitchell Vincent | last post by:
I've recently started signing all EXEs that come out of here. I would like to verify the signature at startup to detect any changes to the EXE itself. Is something like that possible? I'm using...
2
by: antonyliu2002 | last post by:
Hi, My web application does user authentication through X.509 digital certificates in combination with user name and password. When the user applies for a digital certificate from my...
0
by: Krish | last post by:
In .Net we can do digital signing of files. Visual studio provides easy means of doign this. I also know that there is Authenticode signing which gives one more level of security as it gives...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.