![]() |
|
Guidelines for security - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Guidelines for security (/thread-7365.html) |
Guidelines for security - Rowli001 - 2010-07-20 Please accept my apologies in advance for the naivety in this post. I have also been the victim of hackers injecting code into the PHP file. According to my hosting provider, the secret is to move the config file (zp-config) somewhere else. I would appreciate guidance on where in the scripts I need to modify to point to a different location. Thanks Guidelines for security - acrylian - 2010-07-20 [i]I installed Zenphoto using simplescripts[/i] [i]At present, it is open to view to all without registration. I can't seem to find where I can lock down the access.[/i] Also I suggest to look at the troubleeshooting to set the right file/folder permissions and about protecting albums. You can't remove the zp-config.php file because that is necessary. But you can remove the Guidelines for security - sbillard - 2010-07-20 Also, if you did really use simplescripts most likely you are runnign a fairly old version of zenphoto. In that case, all bets are off for your site security. Your provider is clearly not too brite with respect to Zenphoto at least. As Acrylian says, removing the zp-config.php file will render your site inert. Guidelines for security - Rowli001 - 2010-07-21 Thanks for the comments. Just to clarify, the vendor gave generic advice, which is to 'Move' (not 'remove') config files to a location outside of the public area. I was trying to understand whether it is practical to do this, and how I would modify files to reference a config file in another location. I think the answer is 'No'. Guidelines for security - acrylian - 2010-07-21 Moving a file out of a folder is removing it from that folder... How should a script know where you moved it? |