How to secure sensitive details to publish

Hey there!
I’m using your theme for my wedding website, since by now it’s the only theme I ever used since couple of years and I’m feeling confident with it.

This time though I’m presented with a small challenge: I would like to publish in clear text my personal email and bank account details in this website.
To avoid crawlers and bots, in the past my solution has always been concatenate a bunch of js document.write to mask the text. A quick solution that has proven effective so far.
But now if I try to do the same in Cornerstone, the theme breaks and I have to throw the page away and build another one.

Is there any solution you recommend to secure publishing these kind of details?
(I posted in the support forum since I’m asking for your suggested solution)

Thanks!
/Giorgio

Hi Giorgio,

For email, did you try with this solution?

.cryptedmail:after {
  content: attr(data-name) "@" attr(data-domain) "." attr(data-tld); 
}

<a data-name="info" data-domain="test" data-tld="com" href="#" class="cryptedmail" onclick="window.location.href = 'mailto:' + this.dataset.name + '@' + this.dataset.domain + '.' + this.dataset.tld"></a>

Can you give us an example of your bank accounts?

Thanks.

Hey!
Thanks for quick reply! I can’t say I have tried this solution!
As far as I understand, it can be applied to any other detail I want secured. I just need to

.cryptedbank:after {
  content: attr(data-first) attr(data-last); 
}

<a data-first="info" data-last="test" href="#" class="cryptedbank"></a>

right?
/G

Hi There,

The code looks good :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.