brothercake
04-29-2003, 03:22 PM
I'm just starting to play with sessions; one thing I'd like to do is to track known users and log how often they visit, which will involve reading a file of uname/passwords, and alos writing to another file for the log.
My question is whether it's considered bad practise to use the same /tmp directory for these files, or whether I should use a different directory. By the same token - is it necessary to keep the users file in a folder above root, or is a public folder with a blank index file considered safe enough?
My question is whether it's considered bad practise to use the same /tmp directory for these files, or whether I should use a different directory. By the same token - is it necessary to keep the users file in a folder above root, or is a public folder with a blank index file considered safe enough?