I have made a little perl script that creates some folders (and files too). It creates the folders as owner 'www' (not as my ordinary username 'hotguy' - and I guess 'apache' is set to 'The permissions are chmod to '0700' (I only want my scripts to be able to see what is in the folders - I have made a little login/password thingy)
When I login via FTP, I cant even access the folder or files with my 'hotguy' login.
However when I enter the URL for the folders in a browser, then I get a complete list of the folder that has been created - the whole world can see the content via browser!? that wasn't the meaning, it should be secret!
maybe get a "Access denied" thingy or something.
I guess it's because apache (' owns the files and folders that are generated by the scripts, so it also shows folders that apache owns when someone ask for it.
How do I advoid this? I could just copy an empty "index.html" file into the created folders, but still it's not the "correct" way of doing it. (someone could just try with different folders and file, names until they hit the right names)
Can I somehow in the browser get a "Access denied" without having to desturb the guy who has the server? I only want the scripts to be able to see the content.
When I login via FTP, I cant even access the folder or files with my 'hotguy' login.
However when I enter the URL for the folders in a browser, then I get a complete list of the folder that has been created - the whole world can see the content via browser!? that wasn't the meaning, it should be secret!
I guess it's because apache (' owns the files and folders that are generated by the scripts, so it also shows folders that apache owns when someone ask for it.
How do I advoid this? I could just copy an empty "index.html" file into the created folders, but still it's not the "correct" way of doing it. (someone could just try with different folders and file, names until they hit the right names)
Can I somehow in the browser get a "Access denied" without having to desturb the guy who has the server? I only want the scripts to be able to see the content.