Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Web Design & Development
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery registry cleaner router safe mode slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
How do I disallow write access to a folder?

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

 
Thread Tools
vidyaishaya's Avatar
Member with 77 posts.
 
Join Date: Oct 2001
03-Nov-2009, 07: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
Distinguished Member with 3,519 posts.
 
Join Date: Oct 2006
03-Nov-2009, 09: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 Bookmark and Share

Smart Search

Find your solution!



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


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 04:17 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.