If I have a text file in the cgi-bin directory that I do not want to be readable or writable to anyone apart from myself via FTP when logged into my web space, or a script in the same cgi-bin directory, is this done with permissions?
I have never found a good explanation of what permissions are about. Do they only relate to the unix server? In other words, could I have a text file in cgi-bin with permissions set to 0777 that could still be protected from outside access (ie: someone typing in the path in the address bar of their internet browser and reading it through that)?
My perl script needs to be able to write to the text file, although it is not the owner, but I want the text file to be unaccessable to just anyone who happens to knows the path.
I have never found a good explanation of what permissions are about. Do they only relate to the unix server? In other words, could I have a text file in cgi-bin with permissions set to 0777 that could still be protected from outside access (ie: someone typing in the path in the address bar of their internet browser and reading it through that)?
My perl script needs to be able to write to the text file, although it is not the owner, but I want the text file to be unaccessable to just anyone who happens to knows the path.