shannah wrote:I see. It is probably best not to use the approach I described then. If I were you, I would create a custom action that just retrieves the decrypted password. Set the permissions to that users can only access this action to retrieve their own password. Then just use a mysql_query() with your aes_decrypt() call to retrieve this value manually.
Once you have an action that does this, you can add an AJAX call anywhere in the interface to obtain this password.
Or if you don't want to use AJAX, just create a normal HTML action that includes the decrypted password in its output.
-Steve
That would be an ideea....
I'm still thinking how to do this. I have these tables that contain information about websites, the links to the administration panels and username and passwords. My goal is to encrypt the passwords stored in the database and also display the decrypted passwords only when clicked, like within a additional pop-up page or some other form just not in pure plain sight as a list.