homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

Trying to understand ftp permissions
Read, write and execute and the dangers involved

10+ Year Member

Msg#: 3900325 posted 11:11 am on Apr 25, 2009 (gmt 0)

I'm trying to get my head round the ftp permissions thing. I get the basics I think - there are read, write and execute permissions for every file on a server, and these are assigned to the owner of the file, the group you are in, and then everyone else. The permissions say whether you can read a file, edit it or execute scripts using it. (Is that about right?!)

The things I don't understand:

1) Having looked at some files on my site I see that they have different permissions. Are these set by the web server? My basic html files seem to have 604 permissions, and some folders (not files) in my blog have 755 permissions. Presumably this is so they can run the blog and they need to do more than just edit/read files for this? Is 604 the standard for html files?

2) Even some of my basic html files have different permissions. Could this be because I have switched from using Frontpage to using Coffeecup? It seems like the older files, done in Frontpage, have higher permissions than the Coffeecup files. I also have two sites on the same host, one with html files with mostly 604 and one with html files of mostly 755. What gives?!

3) The other thing is the dangers of changing ftp permissions. I understand that setting permissions too high, for example 777 and giving everyone access to change anything if they get into your server, is daft. Do web hosts stop people from doing this? And how exactly would someone exploit these permissions - what do I need to be aware of? Could someone actually hack into my site just from a 777 setting?




WebmasterWorld Senior Member beedeedubbleu us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3900325 posted 8:53 am on Apr 26, 2009 (gmt 0)

Google provides lots of answers.

Try [google.co.uk...]

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved