There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard netgear network printer problem ram registry repair router slow software sound toshiba trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
How do I disallow write access to a folder?

Reply  
Thread Tools
vidyaishaya's Avatar
Member with 80 posts.
 
Join Date: Oct 2001
03-Nov-2009, 08:42 PM #1
Question How do I disallow write access to a folder?
I have a hacker who writes into folders on my website.

They were having permissions of 777, but I changed them to be 755.

Is that adequate? Or is there something I can do with an .htaccess
in the folder that prevents anyone from writing in the folder,
but not the webserver. I need to write files in it myself?

Like a 'logs' folder where I need to write logs, (or a newsletter folder). But I don't want anyone from outside to be able to write anything into the folder.

Do I need anything in the .htaccess or are the permissions adequate?

Thanks

....Burton
__________________
__________________________________
Editor/Publisher of Web Wise News
http://www.webwisesage.com
MMJ's Avatar
MMJ MMJ is offline
Senior Member with 3,637 posts.
 
Join Date: Oct 2006
03-Nov-2009, 10:00 PM #2
Those permissions shouldn't really affect whether anyone can write to that folder - unless the person has direct SSH or bash access.

I suggest you make sure there are no scripts that have security holes.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:29 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.