curiouswebster
asked on
Can I hide a folder on a website?
If I plan on reading from or writining to a textfile on my website, does that automatically imply that anyone can read the contents of those textfiles?
Is there a way to hide a folder? How about a file?
thanks,
nbw
Is there a way to hide a folder? How about a file?
thanks,
nbw
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes but I usually put a message (using html) saying something like Forbidden access or error 500 or something like that.
If the folder is to contain sensitive data a safer way is to create a folder above the web root.
If the folder is to contain sensitive data a safer way is to create a folder above the web root.
ASKER
I tested it and it worked! Great trick.
This data won't be that sensitive, but how easy would it be for someone to crack it?
This data won't be that sensitive, but how easy would it be for someone to crack it?
I'm not sure but I think somebody would actually have to break on the server to access the files in a folder, not beeing a hacker myself I don't know how they can do it neither how easy it is (or not).
ASKER
thanks. great idea!
Thanks for the points and the grade.
Gamebits
Gamebits
ASKER
Can that file be empty?