PDA

View Full Version : managing rights to files ?



wo1olf
June 15th, 2007, 05:25 PM
can anyone help me i knoiw there is r, w and x. as i remember r stand for read and w for write but what about x.
How can i hide my files ? i finaly finisehd setting up a forum for my work but now i want to hide all other files (making them unavailable through a webbrowser)

blazes
June 15th, 2007, 05:30 PM
x = execute. 0000 will make it so that it say's the file is forbidden. 0600 will do the same except the owner can still see/use it.

wo1olf
June 15th, 2007, 05:46 PM
the problem i have is that they have a managing system for their website, the only thing i can do is just change letters (either disabled them or not)... so if want to make files forbidden then i should remove all the rights ?

mlk
June 15th, 2007, 05:59 PM
can anyone help me i knoiw there is r, w and x. as i remember r stand for read and w for write but what about x.
How can i hide my files ? i finaly finisehd setting up a forum for my work but now i want to hide all other files (making them unavailable through a webbrowser)

Do you want to make sure no one knowingly sees the files or really protect them from the world ?

If it's the former just place them in a distinctive directory and use Options -Indexes in an .htaccess in the directory

else use .htaccess authentification http://www.clockwatchers.com/htaccess_password.html

wo1olf
June 18th, 2007, 03:08 PM
is there any risk if the file is still executable for public but no readable for them, or i should just remove all rights ( readable, exec & w)?

calreks
June 19th, 2007, 04:10 AM
wo1olf I believe mlk answered your question. Use .htaccess if youre so paranoid.