I have made a little perl script that creates some folders (and files). 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)
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!? that wasn't the meaning, it should be secret! maybe get a "Access denied" thingy or something.
I guess its because apache (' owns the files and folders that is 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 get a "Access denied" without having to desturb the guy who has the server?
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!? that wasn't the meaning, it should be secret! maybe get a "Access denied" thingy or something.
I guess its because apache (' owns the files and folders that is 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 get a "Access denied" without having to desturb the guy who has the server?