View Full Version : attachment folder in my server
Rezafcom
09-30-2007, 07:19 AM
hi
i transfered my attachment in my server , before it placed in database.
now i want secure this folder by .htaccses because is chmod is 777 !!
help me ...
Marco van Herwaarden
09-30-2007, 07:37 AM
Best is to place that directory above your webroot, so the webserver can not even access it.
Rezafcom
10-03-2007, 05:53 AM
example :
www.mydomain.com/directory or www.mydomain.com/forum/directory
no need to secure by .htaccses ?
to this folder php is run !!
Dismounted
10-03-2007, 06:03 AM
Not any of those. Your PHP/HTML files are in a folder called "public_html" or "htdocs". Place the attachments on the same level as this.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.