[SOLVED] Â Data Encryption.............problem & suggestion |
1/28/2021 2:14:35 AM |
PHPRunner General questions | |
![]() Hello everyone. Unfortunately, I have noticed that the encryption feature, as I was told, in the Enterprise version does not help to "lock" the data as the encryption key is clearly visible in the "connection" file <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=28093&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' /> So, there is no way to protect the data and make it not readable. The encryption key should also be encrypted. We know very well that any host could browse our domain account. Now, the encrypted data, for example made with version 10.5, when the next version and others will come out, how would it be resolved if you wanted to update, how does the export of this data work? A suggestion, when opening the web page, you could ask the user for the encryption key which also resides in a database. Thanks for the exquisite attention <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=28093&image=2&table=forumtopics' class='bbc_emoticon' alt=':)' /> |
|
![]() |
Admin 1/28/2021 |
I'm afraid you don't understand how encryption works. If you encrypt the encryption key you need to store the second encryption key somewhere in your code in plain text. So your data is as secure as the access to your PHP code. If someone can access your PHP code they have access to your data, doesn't matter if encryption is used or not. |
![]() |
MarkRed author 1/28/2021 |
I'm afraid you don't understand how encryption works. If you encrypt the encryption key you need to store the second encryption key somewhere in your code in plain text. So your data is as secure as the access to your PHP code. If someone can access your PHP code they have access to your data, doesn't matter if encryption is used or not. The point of encryption is to protect your data in case someone gets access to your database. However, if someone gets access to your code - your data is no longer safe. While asking the user to enter the encryption key is possible in general I haven't seen anyone doing that. The encryption key is a long set of hexadecimal characters, not something that you can remember and user will have to write it down somewhere. So it comes to the question, where this key better protected, on your server on in the end-user hands?
|