encryption - DNN Encrypted Profile Field -
in dnn's site settings, store user's credit card in profile. there way can encrypt data? here code use pull user custom fields:
userinfo theuser = new userinfo profilepropertydefinition ppd = theuser.profile.getproperty(propname); if (ppd != null) { string v = ppd.propertyvalue; if (string.isnullorempty(v)) { return string.empty; } return v; }
my advice don't try.
there lot of other issues related storing credit card information encrypting data. if need figuring out how encrypt it, you're better off not storing @ all. pci requirements extremely strict , go farther data encryption specify physical security measures restrict access server data being stored on (encrypted or not).
most payment gateways take care of heavy lifting far pci requirements concerned these days, , people don't mind re-entering credit card number each time make purchase. no reason open liability, make sure data transmitted securely drop good.
you can read more pci requirements here: https://www.pcisecuritystandards.org/.
Comments
Post a Comment