"Do not look at background.css" will just encourage people to look, I have a two phased (easy) solution in mind, though it doesn't completely prevent cheating:
- Use
openpgp to decrypt CSS fetched from some remote server
- Host the
css file on a remote server, e.g. written with Express (literally will take 15 minutes max), and have env variables on that remote server to decrypt with every GET request
Upsides:
- Cool, as we get to encrypt and decrypt stuff
- Easy, as it really only takes an hour max to implement
- Makes cheating a little bit harder, so any candidates that pass either by just doing the interview or cracking the encryption are probably very smart either way
Downsides
- Interviewees can just inspect element. I'm sure there's a way to get around that but I haven't figured it out yet. What I mean by this is, when you inspect element, the CSS is at the bottom of the screen (in Chrome for example).
"Do not look at
background.css" will just encourage people to look, I have a two phased (easy) solution in mind, though it doesn't completely prevent cheating:openpgpto decrypt CSS fetched from some remote servercssfile on a remote server, e.g. written with Express (literally will take 15 minutes max), and haveenvvariables on that remote server to decrypt with everyGETrequestUpsides:
Downsides