Solved

encryption of XML file

Posted on 2014-03-07
6
422 Views
Last Modified: 2014-04-18
Hello experts;
I have one XML file and it needs to be encrypted by a cert.pfx certificate, what would be the best way to do it?
thanks
0
Comment
Question by:alirezakaveh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Author Comment

by:alirezakaveh
ID: 39914277
i have extracted data from database with Crystal Report and now i have a list of data in excel, right now i am using XML file generator
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 39914810
Visual Cut can export and zip and password protect the file if that is any help

http://www.milletsoftware.com/visualcutBenefit.htm

mlmcc
0
 
LVL 33

Accepted Solution

by:
Dave Howe earned 500 total points
ID: 39917346
You can encrypt to a certificate and decrypt with the secret key in the pfx (pfx isn't required for encryption) but the question is - why? PFX files are usually used for transport security and email (s/mime) security, not file encryption (although you CAN do that with ssl)

what is it you want to achieve with this?

if you want to encrypt data with a pfx in a script, usually its best to have an activex control for that. http://www.ebcrypt.com/ is a suitable control for that, if that is really what you want to do.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Introduction to Processes

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question