Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Pass SecureString to web service?

Reply
Thread Tools

Pass SecureString to web service?

 
 
RMT
Guest
Posts: n/a
 
      06-06-2006
Hi,



Is there a way to get the encrypted bits from a SecureString, rather than
pinning it down and getting it's actual, decrypted value in unmanaged
memory?

What I would like to do is simply compare the unicode encrypted string in
the database with the unicode eyncrypted string passed by the client to the
web service. Presumably I cannot use SecureString to do this and will have
to roll my own encryption?




Robin


 
Reply With Quote
 
 
 
 
Joe Kaplan \(MVP - ADSI\)
Guest
Posts: n/a
 
      06-06-2006
Yes, you'd need to roll your own encryption. Typically, the most difficult
part of getting this secure is coming up with a secure means of exchanging
keys. That's why SSL is generally regarded as good (it does this well and
has been well tested).

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"RMT" <> wrote in message
news:e645n5$pi0$1$...
> Hi,
>
>
>
> Is there a way to get the encrypted bits from a SecureString, rather than
> pinning it down and getting it's actual, decrypted value in unmanaged
> memory?
>
> What I would like to do is simply compare the unicode encrypted string in
> the database with the unicode eyncrypted string passed by the client to
> the web service. Presumably I cannot use SecureString to do this and will
> have to roll my own encryption?
>
>
>
>
> Robin
>



 
Reply With Quote
 
 
 
 
RMT
Guest
Posts: n/a
 
      06-06-2006
Okay tyvm.

"Joe Kaplan (MVP - ADSI)" <> wrote
in message news:...
> Yes, you'd need to roll your own encryption. Typically, the most
> difficult part of getting this secure is coming up with a secure means of
> exchanging keys. That's why SSL is generally regarded as good (it does
> this well and has been well tested).
>
> Joe K.
>
> --
> Joe Kaplan-MS MVP Directory Services Programming
> Co-author of "The .NET Developer's Guide to Directory Services
> Programming"
> http://www.directoryprogramming.net
> --
> "RMT" <> wrote in message
> news:e645n5$pi0$1$...
>> Hi,
>>
>>
>>
>> Is there a way to get the encrypted bits from a SecureString, rather than
>> pinning it down and getting it's actual, decrypted value in unmanaged
>> memory?
>>
>> What I would like to do is simply compare the unicode encrypted string in
>> the database with the unicode eyncrypted string passed by the client to
>> the web service. Presumably I cannot use SecureString to do this and
>> will have to roll my own encryption?
>>
>>
>>
>>
>> Robin
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert string to SecureString? Bishoy George ASP .Net Security 1 08-23-2006 10:30 PM
difference between pass by address and pass by reference!! blufox C Programming 2 04-03-2006 02:53 PM
Server Error in '/' Application Invalid SecureString dayspook@hotmail.com ASP .Net 1 11-09-2005 09:37 AM
Pass by reference / pass by value Jerry Java 20 09-09-2005 06:08 PM
Pass-by-reference instead of pass-by-pointer = a bad idea? Mr A C++ 111 07-14-2005 03:04 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57