AsianOne974
Programmer
Please help! I'm a newbie.
My client would like to implement an upload feature on their website. Users would be able to upload files from the client machine to a folder called ‘upload_dir’. I was able to use <cffile> successfully as long as all the restrictions were removed from the folder. But, my client is concerned with security issues involved with having a folder without any restrictions so they would like to create an owner (upload_user) for the folder and only this user will have access to write to the folder. By doing so, <cffile> no longer works.
The site will have numerous users but only certain users will have upload privileges. So if Bob has permission to upload files, how can I do the upload for Bob so that it uses 'upload_user' as the profile to upload to the directory. Is there any way to make this work using <cffile>? If there is, please share. Any help will be greatly appreciated.
AOne
My client would like to implement an upload feature on their website. Users would be able to upload files from the client machine to a folder called ‘upload_dir’. I was able to use <cffile> successfully as long as all the restrictions were removed from the folder. But, my client is concerned with security issues involved with having a folder without any restrictions so they would like to create an owner (upload_user) for the folder and only this user will have access to write to the folder. By doing so, <cffile> no longer works.
The site will have numerous users but only certain users will have upload privileges. So if Bob has permission to upload files, how can I do the upload for Bob so that it uses 'upload_user' as the profile to upload to the directory. Is there any way to make this work using <cffile>? If there is, please share. Any help will be greatly appreciated.
AOne