Ask a Question related to ASP.NET Security, Design and Development.
-
Paul Glavich [MVP - ASP.NET] #1
Re: SymmetricAlogrithm and single quotes
Sounds like your doing simple string concatenation to form your SQL query
which is a bad idea.
You should use SQLParameters in your SQL query and set the respective values
of SQL Parameter objects.
However, the createDecryptor method returns an object so not entirely sure
what your referring to. If you are referring to the key or IV, then this
could potentially contain the ASCII code for an apostraphe but its just a
series of bytes.
--
- Paul Glavich
Microsoft MVP - ASP.NET
"WaterBug" <WaterBug@discussions.microsoft.com> wrote in message
news:CC7BEEA0-4DD8-4A61-A8C0-7176F7DD646A@microsoft.com...a> I am using SymmetricAlgorithm to encrypt and decrypt passwords. I want to
> know if the resulting output from createDecryptor can potentially contain> single quote. Ultimately, I need to know whether to handle that possible
> single quote in my code when using a SQL query and wrapping single quotes
> around the value. Thanks...k
Paul Glavich [MVP - ASP.NET] Guest
-
single quotes and SQL
We recently upgraded to CF MX 6.1 and since then we have had all of our single quotes ( ' ) turn into two single quotes ( '' )when inserting and... -
-e with single quotes
Hello group. I'm tryign to do a perl -e '' command and am wondering if it is possible to do single quotes inside the single quotes. IE perl... -
Single Quotes vs Double Quotes
With all that's been said in mind ('$var' unparsed "$var" parsed). The rule of thumb I follow is, if it needs to be parsed (has a $variable or \n... -
[PHP] Single Quotes vs Double Quotes
Hi, Tuesday, September 9, 2003, 2:03:34 PM, you wrote: mb> Hi everyone, mb> Could somebody please explain to me the difference mb> between... -
Recommend pse: Quotes, Single Quotes, etc. basics
I've been fooling with this stuff for awhile and I still have problems with quotes, double quotes, etc. I have no programming or database...



Reply With Quote

