Encrypting A Url Coldfusion And Jquery Datatable
Stack Overflow Users, I have a server side JQuery Datatable and I am attempting to encrypt the record ID. I've used this method on basic data tables in a CFLOOP but I have not been
Solution 1:
Although, there are many methods for encrypting the url, I found in my case the best method was to intercept the EMPLOYEE_ID in the JSON request prior to the JavaScript hand off.
<cfsetED_ID= Encrypt(EMPLOYEE_ID,myKey,'AES/CBC/PKCS5Padding','HEX')/>
<cfsetobj= {
"EMPLOYEE_ID" = variables.ED_ID,
As you can see from the above example, the Employee_ID is modified before passing it to the JSON response. The successfully encrypts the employee id and creates the more secure URL.
Post a Comment for "Encrypting A Url Coldfusion And Jquery Datatable"