Welcome Guest, Not a member yet? Register   Sign In
File encryption / decription in CodeIgniter
#5

[eluser]Birger Eelen[/eluser]
OK OK, I completely agree that the admin will have access to the PHP file.

They way I worked now (it isn't perfect, I know) is when I upload the file, I give it a random filename (a hashed microtime). This filename is encrypted and stored in the database. The link to the file is also encrypted, so without opening the file you cannot guess which file it is.

So let's say this is secure enough (unless the admin has lots of time to spare and digg in the code itself), but when the admin simply opens a file (or does a search), he can easily find info he shouldn't see. Therefore I want to know if it's possible to add (basic) file encryption / decryption so this is an extra 'hurdle' for the admin.


Messages In This Thread
File encryption / decription in CodeIgniter - by El Forum - 09-24-2010, 06:45 AM
File encryption / decription in CodeIgniter - by El Forum - 09-24-2010, 07:32 AM
File encryption / decription in CodeIgniter - by El Forum - 09-24-2010, 07:37 AM
File encryption / decription in CodeIgniter - by El Forum - 09-24-2010, 07:47 AM
File encryption / decription in CodeIgniter - by El Forum - 09-24-2010, 07:56 AM
File encryption / decription in CodeIgniter - by El Forum - 09-24-2010, 08:13 AM
File encryption / decription in CodeIgniter - by El Forum - 09-24-2010, 09:08 AM
File encryption / decription in CodeIgniter - by El Forum - 09-24-2010, 04:23 PM
File encryption / decription in CodeIgniter - by El Forum - 09-24-2010, 04:47 PM
File encryption / decription in CodeIgniter - by El Forum - 06-17-2011, 08:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB