firelior Posted June 28, 2007 Share Posted June 28, 2007 I have a question, Is it possible to upload stuff to a folder, and that still no-one could see it? I want to upload stuff using php, and I don't want anybody to be able to see the folder directly.. with permissions 777 it doesn't work. how do i do it? thanks Quote Link to comment https://forums.phpfreaks.com/topic/57539-php-upload-permissions/ Share on other sites More sharing options...
HuggieBear Posted June 28, 2007 Share Posted June 28, 2007 Mosts good hosts provide you with a private directory outside the web root directory so that isn't accessible via a browser, but that scripts can see. Check this with you host. Alternatively, if you have access to edit your .htaccess files, it can be done with these too. Regards Huggie Quote Link to comment https://forums.phpfreaks.com/topic/57539-php-upload-permissions/#findComment-284756 Share on other sites More sharing options...
firelior Posted June 28, 2007 Author Share Posted June 28, 2007 whats the .htaccess code? anybody knows? Quote Link to comment https://forums.phpfreaks.com/topic/57539-php-upload-permissions/#findComment-284762 Share on other sites More sharing options...
Vikas Jayna Posted June 28, 2007 Share Posted June 28, 2007 Try this code: Order allow,deny deny from all This would work if mod_access is loaded in apache configuration Quote Link to comment https://forums.phpfreaks.com/topic/57539-php-upload-permissions/#findComment-284774 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.