php - How to securely store sensitive data on a shared-hosting provider while accessible to server-side scripts? -
i want store sensitive data on hosting provider shared-hosting, lets example on mysql, , want accessible website(server-side languages php) hosted on same provider, how do that?
you see can't use digest algorithms(md5, sha1, etc) beacause want restore data use them in code,
and
i can't use public-private key because have store both keys on server, shared hosting provider.
any ideas?
no matter think have trust hosting provider in instance. can't hide information since, self, must store secret key ,unencrypted, on server(s).
this reason never storing sensitive data on else equipment if don't trust them (and should never that). fact consider doing makes me think data ain't sensitive @ (and in case entire discussion pointless).
tl;dr don't share secrets other people, try host own sensitive data instead, if sensitive.
Comments
Post a Comment