The session handling can be used to ensure authorize access. But how to prevent unauthorized access to those files other than php files, such as .doc, .text, etc?
One can still bypass the login page if he/she knows the full URL of a file.
I have many confidential document files need to be uploaded to the web for limited access. Please help. Thank you very much.