I am trying to make available some files in a folder available for authorized users to download. The php code works and makes available the users files for download, however I noticed if I type the folder name after the domain name then the file names I have access to them. How do I go about preventing this? Or is there a way to down load files with out having the folder as part of the web site?
Thanks Russ
:p
hi,
I think one possible way would be to change the chmod of the directorys you do not want users to download. You do this generally using your ftp package.
Using chmod may stop your users from downloading the code.
You could try using a .htaccess file, or maybe simply place a blank index page in that directory.
If unauthorised users never know the filenames, they cant download the files anyway.
All the files are auto generated and follow a sequencial numbering sytem so put in any number .doc and you will find one of them. but thanks