hugstable77
Programmer
using godaddy coldfusion hosting for a project...
apache: 1.3
mysql: 4.0.24
cf: mx 7
I basically want to set up an engine to allow certain users to download zip files assigned to them... File FOO will only be allowed to be accessed by user JDOE, jdoe can access multiple files...
godaddy restrictions:
- I cannot change my directory structure
- I cannot set up a directory below the web root.
- I cannot use custom tags
My plan:
1-create a directory called PROTECTED
2-CHMOD that directory to 700 (via smart ftp -great proggie btw)
2-use my database to associate the users to there specific files.
3-set up my download engine to move selected files to a temp directory (via CFFILE), then download them to the user.
QUESTIONS:
1) Is this a good way to do this (seems like there has to be an easier way)...
2) Is the CHMOD 700 what you would recommend - I can set it to anything I like...
3) How would you do this?
Thanks in advance...
-c (4:49 PM 8/15/2006)
apache: 1.3
mysql: 4.0.24
cf: mx 7
I basically want to set up an engine to allow certain users to download zip files assigned to them... File FOO will only be allowed to be accessed by user JDOE, jdoe can access multiple files...
godaddy restrictions:
- I cannot change my directory structure
- I cannot set up a directory below the web root.
- I cannot use custom tags
My plan:
1-create a directory called PROTECTED
2-CHMOD that directory to 700 (via smart ftp -great proggie btw)
2-use my database to associate the users to there specific files.
3-set up my download engine to move selected files to a temp directory (via CFFILE), then download them to the user.
QUESTIONS:
1) Is this a good way to do this (seems like there has to be an easier way)...
2) Is the CHMOD 700 what you would recommend - I can set it to anything I like...
3) How would you do this?
Thanks in advance...
-c (4:49 PM 8/15/2006)