Ask a Question related to Coldfusion Database Access, Design and Development.
-
steveh1234 #1
Re: Pass encrypted text to SQL database from a form.
Move the key and 3 encyption lines to directly above your CFQUERY tag and
encypt the form values
<CFSET key = "98q34jt">
<CFSET encrypted1 = encrypt(form.name, key)>
<CFSET encrypted2 = encrypt(form.number, key)>
<CFSET encrypted3 = encrypt(form.question, key)>
Then, inside your query, insert the encrypted values like
<cfif IsDefined("FORM.name") AND #FORM.name# NEQ "">
'#encrypted1#'
<cfelse>
NULL
</cfif>
Just make sure that your DB columns are large enough to hold the new encrypted
values.
steveh1234 Guest
-
Pass URL Parameter from html form to flash form
In CF, I have a link to a form to update a students attendance; takeattendancehv1.cfm?StudentID=#allstudents.StudentID# . I'm using a flash form in... -
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... -
How to pass a form input text value to a javascriptmethod?
Hello, I have a PHP page that gets product records from a database and layout the records on a form table. The PHP page look like this: ... -
Passing database info to page allow user input then pass into another database
Hi I really am going crazy! I'm using VBScript, ASP, and SQL My page reminds me of a shopping cart but looking at shopping cart examples has not... -
Reinstaled, Lost profiles, encrypted files left encrypted
Bob; Are you sure it is not an Ownership issue: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q308421& If the files are encrypted. If... -
JanSke #2
Re: Pass encrypted text to SQL database from a form.
That worked perfectly!! Thank you so much!!
JanSke Guest



Reply With Quote

