Solved

Question about CFencrypt

Posted on 2013-05-29
3
304 Views
Last Modified: 2013-05-29
I understand that cfencrypt will encrypt data and then write it to the database and also descrypt it when necessary. Can someone tell me if the data transfer between the web server and the database server is encrypted with this cfencrypt method?

Thank you.
0
Comment
Question by:earwig75
  • 2
3 Comments
 
LVL 52

Expert Comment

by:_agx_
ID: 39205911
EDIT:

What do you mean by "CFEncrypt"?  There is no such thing in the built in tags and functions.


Can someone tell me if the data transfer between the web server and the database server is encrypted ...?

When you enter a username and password for a datasource, CF encrypts the password before storing it the config files.  But standard communication though a jdbc datasource is not encrypted.
0
 

Author Comment

by:earwig75
ID: 39206023
So if I use Encrypt/Decrypt with ColdFusion it will not be encrypted between the web server and the database? Thanks again.
0
 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
ID: 39206407
You can encrypt individual values before sending them to the database, and they will be sent in encrypted form.  Everything else is sent in plain text.

For example, here "value1" will be sent encrypted. But value2 will be sent in plain text ie "orange".

               <cfset value1  = encrypt( "apple", .....etc ...)>
               <cfset value2 = "orange">

               <cfquery ....>
                    INSERT INTO Table (....)
                   VALUES (
                             <cfqueryparam value="#value1#" ...>
                             , <cfqueryparam value="#value2#" ...>
                    )
              </cfquery>
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question