jagguy Posted July 14, 2007 Share Posted July 14, 2007 My php source files should have what file permissions to keep them safe from outside users.I have chmod 711 but i want somefiles to be able to be downloaded eg txt,doc files. Quote Link to comment Share on other sites More sharing options...
MadTechie Posted July 14, 2007 Share Posted July 14, 2007 i think i use CHMOD 755, PHP files are parsed via the server thus the downloaded file will not be the source the output..! as for other files well it depends how the server is setup but a direct like will download or play (depends on client as well) Quote Link to comment Share on other sites More sharing options...
jagguy Posted July 14, 2007 Author Share Posted July 14, 2007 I have 1 folder where people download from. Actually they do it from a php script to force download. Other than that nothing else should be gettable to download. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.