Ask a Question related to ASP.NET Security, Design and Development.
-
smita #1
Storing encrypted password in xml file??
Hi,
I have an XML file that stores a Profile of a user, including the username,
password, server name, etc.
I want to be able to leave the XML file as plain text, but have the password
attribute encrypted.
I have used the RC2CryptoServiceProvider class, but when i convert the
encrypted byte array to a string to store in my xml file, it(the encrypted
string) contains some illegal characters which are not allowed in an xml
file.
Anyone have any ideas of how to encrypt the password and still be able to
store it in the xml file.
By the way, I also need to decrypt it, so none of the hash code replies
please..
Thanks in advance:-)
Smita.
smita Guest
-
Selling encrypted PDFs online with buyer's email as password?
Hi all I am planning on selling a PDF file online. The content is the same for every buyer, however I'd like to encrypt the PDF with the buyer's... -
Connect to database using encrypted password
I'm needing to connect to a database manually (not using cfquery). However I'm not wanting to hardcode the password into the file. I have a... -
Encrypted Password
I am trying to use an existing customer table in our SQL database for another Member-Only section of our web site, so they will share the same... -
Forgot Password encrypted email system
I really wish there were some examples explaining how to create a forgot password email link system when you encrypt a password in a database and... -
Storing encrypted data
Hello everyone, I'm in need of storing a few pieces of text in a text file on my server and want to keep it encrypted, but not permission... -
Mark Berryman [MSFT] #2
RE: Storing encrypted password in xml file??
Have you considered wrapping the password data using "CDATA" blocks?
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
[url]http://www.microsoft.com/info/cpyright.htm[/url]
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
Mark Berryman [MSFT] Guest



Reply With Quote

