msmarc Posted April 12, 2009 Share Posted April 12, 2009 For security, I wanted to get a general idea of how to set up permissions safely on my webserver if I'll be instigating simple php scripts with mysql. This would include user authentication with mysql as well as storing user information. Should I put all my php scripts outside the web root(htdocs) such as the mysql_connect script which gives mysql connection information? What permissions should I generally set for files/folders within the web hierarchy? Should all php files be set to a certain permission, such as read only? Any general idea on this would help, it doesn't need to be too detailed Link to comment https://forums.phpfreaks.com/topic/153705-file-permisssions-on-server/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.