first of all, users should not be able to upload files below the web root.
that is a dangerous thing to offer to them.
What are you defining as "right credentials"? If a user can create
directories and upload files using some ftp client then there are a number
of things you can do to make sure each user gets his own area for file
management and restrict access to other files.

Can you elaborate your process?

On Fri, Oct 9, 2009 at 11:33 AM, Robert Harrison <[email protected]
> wrote:

>
> I have a situation where is a user is creating subdirectories in a
> directory
> that I know. He's also uploading files via FTP. I know the name of the root
> directory, but don't necessarily know the name of the subdirectories and
> files.
>
> Is there any way I can put an application.cfc in the root directory so it
> would do a redirect on anyone who does not have the right credentials
> (e.g.,
> a session variable)?
>
> I know I can make it work on all the .cfm files in the subs... but is there
> a way I can I make it work for all files?
>
> Thanks
>
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
>
> Great advertising can't be either/or.  It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
>
>
> __________ Information from ESET Smart Security, version of virus signature
> database 4494 (20091009) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327076
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to