FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


File permissions?





Xcelerate
If I change the file permissions:

Quote:

600 Makes a file inaccessible

644 Readable by everyone (e.g. HTML documents)

666 File can be read and modified (e.g. for HTML files modified by scripts)

755 File can be read and executed by everyone (e.g. for scripts)

777 Writable and executable by everyone (not recommended)


to read and modified, they can't be modified by anyone right? They have to have access to the server, don't they?
Bondings
I would say try with 755, then 775 and if that really doesn't work 777.
Xcelerate
Well, see, I've got these XML databases with usernames and passwords and stuff in them. What I want is them to be able to be opened and edited with PHP scripts, although I don't want them to be accessible by typing in their URL.

Thanks.
krazycapital
I think you want 700 then:
http://support.ipswitch.com/kb/WS-19990114-EM01.htm
n0obie4life
Seting it up to 700 may have side effects.

Always use 755,777,666..
krazycapital
May I ask what kind you mean? I use windows as a test server so I don't have to chmod...
Scorpio
Could somebody clarify this nagging doubt in my mind?
I have not worked on a windows server, so I want to know why no chmodding is required there?

what is used instead of that for file permissions?
n0obie4life
krazycapital wrote:
May I ask what kind you mean? I use windows as a test server so I don't have to chmod...


Then don't spam. We're talking about linux here.

@scorpio,

Windows uses a different file system from Linux Wink.
krazycapital
Sorry. I'm just wondering why 700 isn't good to chmod to, and if I should not use that (I don't have it in use right now, but I have the odd time)
vigge swe
I wounder what file formats are allowed on frihost.
I should use .html, .php, .jpg, .gif, .js, .swf, .xml, .ini, .css and .rbs - files.
Should thous file formats work here?
Bondings
krazycapital wrote:
Sorry. I'm just wondering why 700 isn't good to chmod to, and if I should not use that (I don't have it in use right now, but I have the odd time)

Well then you won't be able to see the page in question.
Related topics
dot files
.htaccess tutorial
[RESOLVED] problem with file permissions
File permissions (Server 1)
Writing to file
Window Xp-Deleting child file makes parent folder lock-up
Someone teach me about chmod and file permissions
How do I change file permissions??
Changing File Permissions
Need help with file permissions for WordPress & plugins
File Permissions Writing/Reading
php script for Changing file permissions & owner
umask, file type dependent?
problem with file permissions
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.