Member
Member
disismi   24-08-2014, 20:01
#1

Hi

I have this warning in my dashboard:

Your Setup scripts are not protected.

The Setup environment is not totally secure, you should protect the scripts to thwart hackers. Use the Setup » protect scripts button in the Admin section of the Utility functions.

When I press the button 'setup>>protect scripts', I see this: Setup files protected.

But the first message (Your Setup scripts are not protected) never goes away.

So, are my files protected or is there a way I can do this manualy?

tnx

Administrator
Administrator
acrylian   25-08-2014, 07:48
#2

I cannot reproduce this. Be sure you have no permission errors in your server error log.

You can do this manually by adding a non executable file suffix to the setup files. But that would be quite cumbersome.

Member
Member
disismi   30-08-2014, 17:26
#3

tnx!

The logfile says:

setup_protect Success zp_admin protected.
So I guess it's fine.

How do I get rid of the message?

Administrator
Administrator
fretzl   30-08-2014, 17:46
#4

Works just fine for me. Maybe a browser issue.
Have you tried to clear the browser cache?

Member
Member
disismi   30-08-2014, 19:33
#5

yes I cleared the cache. The message is in the admin-panel, so you can't see it. If the site was for me personal I wouldn't mind the warning being there, but I am building it for someone else.

Administrator
Administrator
acrylian   30-08-2014, 20:18
#6

Did you also look at the server error logs? Zenphoto's own logs may not have everything. It could be still permissions.

Member
Member
sbillard   30-08-2014, 20:31
#7

You should actually look at the files in the zp-core/setup folder via FTP or something. What is their suffix?

Member
Member
disismi   30-08-2014, 22:25
#8

My host won't let me see.

I can activate 'read' and/or 'write'.

'read' is activated on all setup files.
'write'is not activated on all setup files.

Administrator
Administrator
fretzl   31-08-2014, 05:52
#9

Never heard of a host that does not allow you to access files via FTP or some control panel. Change host ;-)

In order to protect/obscure setup files Zenphoto tries to change the name of all files in the [i]zp-core/setup[/i] folder to [i]filename.php.xxx[/i]. To do so it needs to change the permissions of the files first and afterwards reset them to their original value.

So if you can see file names like [i]filename.php.xxx[/i] then Zenphoto has successfully protected them.
If the file names look like [i]filename.php[/i] then Zenphoto failed to protect them.

Member
Member
disismi   31-08-2014, 14:42
#10

Thanks for explaining! I fixed it!

I activated 'write' for all setup pages, clicked the 'protect script'-button and now the warning is gone and my filenames have .xxx!
I changed the permissions back to 'read' only, so now it's fine!

merci

Administrator
Administrator
acrylian   31-08-2014, 15:58
#11

Ok, great you fixed it.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.