|
| |
|
|
SerenityNet
Posts: 1372 Joined: 6/12/2001 From: Allen, TX, USA Status: offline
|
644 permissions equivalent on windows hosting - 9/9/2008 21:52:35
I'm running a PHP application with Windows hosting. Therefore I cannot set permissions to "644" for some files, as required by the application. What are the closest equivalent Windows permissions to 644 that I could request for my host provider to set for me? Thank you in advance, Andrew
_____________________________
</Chaos, panic, & disorder - my work here is done.>
|
|
|
|
ou812
Posts: 1603 Joined: 1/5/2002 From: San Diego Status: online
|
RE: 644 permissions equivalent on windows hosting - 9/10/2008 0:02:31
For Unix, 644 is: 6 = owner: read and write permissions, 4 = group: only read permissions, 4 = others: only read permissions. So you should be able to set the same for the files in Windows. Right click, properties, security. Then select the group or user name and set as needed.
_____________________________
-brian EnterpriseDB: Enterprise-class relational database management system PostgreSQL: The world's most advanced open source database
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: 644 permissions equivalent on windows hosting - 9/10/2008 8:37:46
Filezilla allows me to set those on Win servers on directories and files just like 'nix servers - using the 3 numeral code - without any converting to what Win uses for terminology.
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
SerenityNet
Posts: 1372 Joined: 6/12/2001 From: Allen, TX, USA Status: offline
|
RE: 644 permissions equivalent on windows hosting - 9/10/2008 8:38:04
In the PHP CMS app' I'm using (e107), I'm supposed to change a particular file from 777 to 644 after installation. I don't have access to set the permissions. My host will have to do this for me. The reason I'm asking here is that they have not been particularly helpful. I will have to respond to them with specific instructions. So in Unix, who is the "owner"? Is it the equivalent of IUSR_Machine? Who is the "group"? Who are "others"? I believe I still need some detail, or am I just confused? For example: If I tell them to make the file 'read only' then will the application still be able to read-write, or is that another instruction I need to provide? Thanks again, Andrew Addition:quote:
Filezilla allows me to set those on Win servers on directories and files just like 'nix servers - using the 3 numeral code - without any converting to what Win uses for terminology. I have been using FileZilla. The changes don't stick.
_____________________________
</Chaos, panic, & disorder - my work here is done.>
|
|
|
|
Giomanach
Posts: 6129 Joined: 11/19/2003 From: England Status: offline
|
RE: 644 permissions equivalent on windows hosting - 9/10/2008 9:03:09
quote:
So in Unix, who is the "owner"? Is it the equivalent of IUSR_Machine? Who is the "group"? Who are "others"? I believe I still need some detail, or am I just confused? Bit stupid when you have to explain everything to an "established" host Andrew :p But anyway, here goes: Unix Owners: Unless set otherwise, its usually rootadmin who is the owner and its more the equivliant of Administrator than ISUR_Machine. In Unix Permission terms, as Brian explained earlier, the first number is Admins (yourself), Groups are as defined by you, bit like windows groups, say registered members are able to post on a PHP forum, where as those not registered can't, bit like here. And the final is "everyone else". Those who can only read the content, rather than alter it, add to it etc. There's no real direct translation from a Unix to Windows server as the protocols they run on are completely different. Pretty difficult to believe these guys dont know the Windoze equic on Unix permissions. Hope that helps a bit Andrew
_____________________________
|
|
|
|
SerenityNet
Posts: 1372 Joined: 6/12/2001 From: Allen, TX, USA Status: offline
|
RE: 644 permissions equivalent on windows hosting - 9/10/2008 10:09:14
quote:
Bit stupid when you have to explain everything to an "established" host Andrew :p It's IXWebHosting. They are large enough to certainly give me guidance. I believe they just aren't willing to take the time and they are hoping I will just go away. I'm finding that to be true with a large percentage of hosting companies these days. If they have to spend more than 30 seconds in thought or explaination then you are out of luck. Anyway... I'm still confused. I get the whole Admins, Groups, and Others setup from a PC's perspective. I have set up NT users and groups before. But I don't see how Unix or Windows knows what is what when we are talking about a web application, not a PC/Network user. For example, if I'm using the Spooky login. How does Windows know who is a 'member', who is an 'admin', and who are 'others'? The Spooky application knows for sure. It has a database identifying the 'admin' and 'members'. But how does Windows know? Therefore if Spooky simply told me to set the permissions to a file at the equivalent of 644 then what would I do? Would all 'groups' (even though I don't know what they are) on the machine get read-only, etc? I appreciate your patience. Thanks again, Andrew
_____________________________
</Chaos, panic, & disorder - my work here is done.>
|
|
|
|
Giomanach
Posts: 6129 Joined: 11/19/2003 From: England Status: offline
|
RE: 644 permissions equivalent on windows hosting - 9/11/2008 9:07:29
Technically, Windows doesn't know who is who, it has to be told by the program that its being used by. Local Permissions and Web Permissions fall into two completely different ball courts. Local Permissions are simple, as nowadays they all fall under the NT Permissions malarky, however, on a windows web server, it's not quite so simple. Setting the permissions locally will only affect the access rights on the local machine, as the web program will always access them as "Admin" or "root" whatever the setup is. Spooky Login knows who's who as it's defined by the database and the code to check it. ASP is a windows environment based script, PHP isn't. Windows will need to be told by setting up a permissions script linked to the MySQL DB. Windows can't be told, the site itself has to define who is who and what access they have to files. That info is then sent back to the server and then allows the user level to modify/view the right files, and unfortunatley, this will require including a permissions level script into practically every page the browsers can view. I can't remember where I put my custom coding for this kind of thing, as I use *nix servers, but I'm sure the lads & lasses in the PHP forum will be able to help.
_____________________________
|
|
|
|
SerenityNet
Posts: 1372 Joined: 6/12/2001 From: Allen, TX, USA Status: offline
|
RE: 644 permissions equivalent on windows hosting - 9/11/2008 22:29:43
Thank you for the insight. I did ask on a php forum before I posted here. It was a bust. That's why I ended up posting here - on a forum where I can count on receiving some help. Someone at the IX Hosting desk finally seemed to address my concern and replied...quote:
Please note that on Windows based environment permissions are oriented on program languages and file types. For example, all permissions are granted by default for all network users on php files, but it is safe because it is not the same as 777 permissions on Linux, so you don't need to worry about your php files security. ...so if I understand correctly, he is saying that I don't need to worry about the security of a php file on a Windows server. Does this make sense? I'm not technical enough to know one way or another. Thanks again, Andrew
_____________________________
</Chaos, panic, & disorder - my work here is done.>
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|