473,327 Members | 1,976 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,327 software developers and data experts.

Verifying Signed XML files.

13
Hi All,
I have a signed XML file which i want to use in my JavaScript. Before doing any operation using XML file data , i want to verify XML file signature (to verify file is not tempered with third party attack).

Is this behaviour possible in JavaScript. I want to support this feature both in Windows XP and Windows Vista.

Note For Moderators: I have mistakenly post this in InSights forums. Please forgive me.

Regards.
wanni
Feb 2 '09 #1
7 2397
acoder
16,027 Expert Mod 8TB
What exactly do you mean by verifying an XML file? Do you mean validating?
Feb 2 '09 #2
wanni
13
I just want to check the signature of XML file (i.e. signing and verification operation). XML file is signed using private key and i just want to check whether signature is valid or not. I am using Internet Explorer (Verison 7) and want to test on Windows XP and Windows Vista.

Regards
wanni.
Feb 2 '09 #3
acoder
16,027 Expert Mod 8TB
You could use some server-side code for this, e.g. see http://msdn.microsoft.com/en-us/library/ms229950.aspx for .NET. You could make a request using Ajax.
Feb 2 '09 #4
wanni
13
I dont want to use .Net Enviroment. I signed my XML file through certificate private key and want to verify XML file signtaure in Java Script or ActiveX.

I am using VC 6 enviroment.

Is there any way i can achieve this functionality.

Regards
wanni.
Feb 2 '09 #5
acoder
16,027 Expert Mod 8TB
That was only one example, of course. You could probably use other languages. You may also find controls for ActiveX. What server-side languages can you use?
Feb 2 '09 #6
wanni
13
Regarding server side lanuages my first preference would be ASP.
Is there any link or documentataion where i could get a help regarding how to use ActiveX (or its functions) for achieving desired functionality.

Regards
wanni.
Feb 2 '09 #7
acoder
16,027 Expert Mod 8TB
Check the documentation on ASP to see if there's something available that does what you require.

For ActiveX, see http://msdn.microsoft.com/en-us/library/aa751972.aspx.
Feb 2 '09 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Michael | last post by:
I'd like to write a program to verify the consistency between various database replicas in our environment. The rules are as follows: - I'm given two servers, each with a database - I don't...
4
by: HD | last post by:
Hi, I was wondering if there is a way of verifying information that is in the registry of the user's computer??? Or is there a way of checking if a file is on the c:\ of the user's computer?? I...
3
by: wschaub | last post by:
We need to inject information (i.e. server details from where a signed file was downloaded) into a signed file, without breaking the signature or integrity of a signed file. Apparently there are...
29
by: jacob navia | last post by:
A signed int can contain up to 2Gig, 2 147 483 648, to be exact. Since The Mars rovers landed, I have been storing the photographs in two directories, Spirit and Opportunity. I had more than 18...
4
by: Reinhold Schalk | last post by:
Hello, somewhere i've read that using strong names does assure two things: 1. Assure that the content of the assembly is not modified (that's ok in my opinion) 2. Assure that the assembly is...
7
by: Hulo | last post by:
In a C program I am required to enter three numbers (integers) e.g. 256 7 5 on execution of the program. C:\> 256 7 5 There should be spaces between the three numbers and on pressing "enter",...
4
by: Chris | last post by:
How do we create digitally signed MDE files in Access 2007 ? I tried to follow the procedure I was using in other office versions. 1. I installed the Verisign certificate (with private key)....
0
by: BrophyJeff | last post by:
I am putting together a system that uses Authenticode to verify that critical files are not tampered with. This is one of the purposes for Authenticode. At run-time, I use CAPICOM to verify that...
0
by: steven acer | last post by:
Hi i'm trying to sign a file and verify its signature with a DSA key. But i don't know if i'm doing it the right way !. I tried 2 different ways but i either got an error or simply the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.