Field that's encrypted in SF is not encrypted in Skuid

edited March 2, 2017 in Questions
I have a field that is encrypted in Salesforce but it shows on the Skuid page.


Comments

  • Zach McElrathZach McElrath Principal Software Engineer Chattanooga, TN 💎💎💎
    edited March 2, 2017
    Encrypted Fields are not currently supported in Skuid. We have added it to our roadmap for an upcoming release.
  • Rob HatchRob Hatch 💎💎💎
    edited September 1, 2016

    This might be considered a hack, and certainly should not be considered true security - because the real data for the field is available to the Client,  but you can mask the display of data on the screen with a simple Javascript Snippet. 

    Create a resource of type “Inline Snippet”   and name it  somthing like "Encrypt"

    Use code that looks something like this: 


    var field = arguments[0];
    var value = arguments[1];
    var minValue = value.slice(-4);
    var text = "***-**-"+minValue;
    skuid.ui.fieldRenderers.TEXT[field.mode](field, text);

    Then in your tables or field editors,  choose a "custom" renderer and refer to the "Encrypt" snippet. 

    This will only work on String fields, so you might need to do some Text conversion of SSN’s or Phone numbers or other sensitive data of other types. 

    NOTE! IMPORTANT NOTE!  I can't stress enough that this is NOT SECURE ENCRYPTION.  The data for this field is available in the browser and can easily be obtained in the console.  It merely masks the display. 

  • Matt SonesMatt Sones 💎💎💎
    edited February 10, 2017
    Hi Skuid! Any update on this?
  • Zach McElrathZach McElrath Principal Software Engineer Chattanooga, TN 💎💎💎
    edited March 2, 2017
    Support for Encrypted Text Fields will be available with the GA release of Banzai. 
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!