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

Encrypted code with certificate

Hi I have an XML document that contains a username & password for the
login to the web page.

I want to know, How I can secure or Encrypt that XML document?

Here is the xml:
<?xml version="1.0" ?>
<Document>
<Row>
<Username>Sunny</Username>
<Password>sunny</Password>
</Row>
</document>

Do I have to use some certificate or have to provide some key to the
user?
Or How I can secure my XML, so that no one can access it.

Thanks
Nov 19 '08 #1
2 1993
webmaniac wrote:
Hi I have an XML document that contains a username & password for the
login to the web page.

I want to know, How I can secure or Encrypt that XML document?
| What questions are on-topic for comp.lang.javascript?
| <http://jibbering.com/faq/#appropriateQuestions>
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Nov 19 '08 #2
webmaniac wrote:
Hi I have an XML document that contains a username & password for the
login to the web page.

I want to know, How I can secure or Encrypt that XML document?

Here is the xml:
<?xml version="1.0" ?>
<Document>
<Row>
<Username>Sunny</Username>
<Password>sunny</Password>
</Row>
</document>
There are many ways, but since this is a javascript newsgroup, here is
a javascript function that uses the same encryption of default UNIX:
http://groups.google.com/group/comp....6d1191285a15a4
Do I have to use some certificate or have to provide some key to the
user?
A certificate is not applicable here; that is only to confirm the
identity of a server. A key is common thing in cryptography (salt,
public keys, private keys, ... depends on the algorithm of choice).
Or How I can secure my XML, so that no one can access it.
I surmise you need to read up a bit more about encryption first. There
are multiple de/encryption ciphers depending on what you exactly want.

Hope this helps,

--
Bart
Nov 20 '08 #3

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

Similar topics

1
by: Steve Jenkins | last post by:
Hi, Wonder if anyone can help. I have a client who would like to have a form-to-mail on their website, but, are concerned about the security of emails sent by such a form. In the passed I...
8
by: Philipp Brune | last post by:
Hi all, the following problem occured to me and I hope somebody can help me : I need to implement an encrypted File download with a PHP script on the server side and a c# client application....
0
by: cl | last post by:
I am using the "VeriSign Class 3 Code Signing" certificate for signing my Access program in Office 2003. Up to now, when program was installed on client machine, a form was appearing and user...
0
by: Sid DeLuca | last post by:
I'm modifying the WSE2 HOL sample to develop my web service. I'm able to get the client application's username token encrypted on the way out (outputTrace.webinfo), but not on receipt from the...
3
by: phforum | last post by:
I have no ideas to encrypt the user input password from the text box.....
0
by: Summa | last post by:
I write encrypt symmetric key using X509 Certificate public key and write to a XML file. RijndaelManaged sCipher = new RijndaelManaged(); byte EnKey = sRSA.Encrypt(sCipher.Key,false); ...
1
by: jpandviv | last post by:
I'm looking to create an application which will allow me to upload a file using an encrypted/secure connection (SSL) and was looking to use the FileUpload control. This application will also allow...
3
by: Mir Mosharrof Hussain | last post by:
I am a PC user with very little technical knowledge. I will be very very thankful if you please go through my problem and give me a solution. Problem : File system was NTFS. OS was in...
4
NeoPa
by: NeoPa | last post by:
Introduction: Macro Security Levels in MS Office applications are recommended to be set to High. This stops any VBA code associated with a project from running, unless it is signed (with a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.