adam84 Posted September 27, 2010 Share Posted September 27, 2010 Howdy, I create images from user input and I save them in a folder. Every user's images are all saved in the same folder. What I want is to all the user to view there images on my site, like normal sites do, but I dont want some random people to type in the address of the folder (ie http://www.myDomain.com/images/myImages) I want them not to have any access to that folder. I just dont know what permissions to set it to allow them. I have tried a bunch and I can either restrict access to the folder, but when I attempt to view the image on my site, they dont show up or they have access to the folder. Can anyone help me? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/214501-file-permissions/ Share on other sites More sharing options...
MuseiKaze Posted October 16, 2010 Share Posted October 16, 2010 In your Apache configurations remove "Indexes" from "Options Indexes FollowSymLinks", you can also set a .htaccess file to do this. Quote Link to comment https://forums.phpfreaks.com/topic/214501-file-permissions/#findComment-1122669 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.