By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,590 Members | 663 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,590 IT Pros & Developers. It's quick & easy.

Hiding a server URI in an encoded file?

P: 20
Hi guys,

I was wondering if its possible to encode a server uri or something inside a file, then decode it when its needed before httpwebrequest. The reason for this is my applciation sends post data using ssl to a server then the server returns a *Sensitive* URI back to my application to send the secure data to but the URI and data is veri easily viewable in memory once the response is sent back. im not sure if using GC.Collect after httpwebrequest would clear it. but id like to try encrypting the server URI as it would come in use anyway.

i read about Cryptography namespace, but im not sure if this would work for what i need.

Mar 1 '09 #1
Share this Question
Share on Google+
3 Replies

Expert 2.5K+
P: 3,525
Seems reasonable to me. I encrypt/decrypt all the senstive settings my applications before sending to the registry.
Mar 1 '09 #2

P: 20
Thanks for the reply. i tried TripleDESCryptoServiceProvider last night, the problem was it was encrypting, but when i decrypted it the string come iout in strange ALT codes etc. the string is pretty big, does DES have an encryption string limit?
Mar 1 '09 #3

P: 20
im still having an issue with tripleDES, it decrypts and encrypts fine in C#, but the string isnt always the same when the php server trys to decode it, its all messed up.

Hope someone has faced this issue and can help
Mar 2 '09 #4

Post your reply

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