Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Encrypting Data using OnBeforeWrite


Reply

18 Posts   2727 Views

Avatar
lozhowlett

24 July 2014 at 7:51pm Community Member, 146 Posts

Excellent thanks Mick.

Avatar
cumquat

29 July 2014 at 10:40pm Community Member, 198 Posts

Hi ya,

Ok here is a link to a gist with the three pages i used knocked up as a demo for you, obviously one drawback with this set up is the key is on the page for the encryption but you can move this to somewhere else secure i'm just leaving it there so you can see how it works.
[url]https://gist.github.com/Cumquat/e42102ca812cee88729b[/url]

Hope this helps

Mick