Toggle navigation
Home
News
User guide
Themes
Extensions
Showcase
Login
Register
Login
Username:
Password:
Lost Password?
Remember me?
ZenphotoCMS Forum
Support
General support
Protect you zp-config.php via .htaccess
Member
Member
nilswindisch
2007-12-30, 12:58
#1
just place a .htaccess file in zp-core with
`
``
<files zp-config.php>
Order deny,allow
deny from all
</files>
`
[i]adapted from the wordpress security guide (blog).[/i]
Member
Member
sbillard
2007-12-30, 21:25
#2
Will this still allow setup.php to read this and possibly write to it?
Member
Member
nilswindisch
2007-12-30, 22:27
#3
reading is no problem (otherwise the zenphoto installation would be unaccessible immediately) and writing should work as well. "deny" protects against wget and alike but server files (like setup.php) will still have full access.
Search Thread
Next Oldest
Next Newest
Contact Us
Legal
Terms Of Service
Privacy
RSS Syndication
Return to Top
Powered By
MyBB
, © 2002-2026
MyBB Group
.
Made with
by
Curves UI
.