GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   File Permission Question - Need Answer Quick (https://gfy.com/showthread.php?t=775073)

Fat Panda 10-08-2007 09:35 PM

File Permission Question - Need Answer Quick
 
What file permissions do i set my folders to if i want my pictures to show up on my blog but i dont want someone to be able to directly surf my wordpress upload folder for just pictures....

thanks

heymatty 10-08-2007 09:47 PM

Its not file permissions. Ask your host to help.

GrouchyAdmin 10-08-2007 09:53 PM

CHMOD 771 if owner is you:you.
CHMOD 711 if owner is you:group

If you upload through WordPress, though, you'll probably need to keep it at 777.

In this case, add that directory to your robots.txt exclude and put up a dummy index page:

<?php
header("location: /");
?>

Fat Panda 10-08-2007 10:04 PM

thanks thats what i did...i put up a dummy index page


All times are GMT -7. The time now is 10:33 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123