Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
onflash #1
Limiting Browse Directory in Upload
I have a major problem with file upload, i need to restrict the directory from
which a user who clicks the browse button (using input tag file type) can pick
a file. User should be taken straight to the directory on a net work to pick
the file, he should not be able to browse the network. Pls how can i achieve
this in coldfusion?, URGENT
onflash Guest
-
Upload files do different directory
As she uploads a linked file from her computer, I need a user to upload downloadable PDFs to a directory other than the default "documents"... -
#39407 [NEW]: Swapped Upload and Session Directory
From: eoghan at loggedin dot com Operating system: XP SP2 PHP version: 5.2.0 PHP Bug Type: IIS related Bug description: ... -
Limiting upload file size!
Hi, I am using PERSIST upload which uploads an Image in a multipart form. Is it possible to display an error message and not sumbit an image that... -
Upload directory and contents from browers
Is it possible to updoad a directory and its contents from a browser to server...i was reading up on cfftp and was told its only for server to... -
Limiting access to upload area
The Why: I'm in the process of creating a Linux+Apache+PHP website with a public area and an admin area for configuration and updates. The What:... -
mpwoodward *TMM* #2
Re: Limiting Browse Directory in Upload
onflash wrote:
Because the file input box on the client side is not writable (for> I have a major problem with file upload, i need to restrict the directory from
> which a user who clicks the browse button (using input tag file type) can pick
> a file. User should be taken straight to the directory on a net work to pick
> the file, he should not be able to browse the network. Pls how can i achieve
> this in coldfusion?, URGENT
>
security reasons) you won't be able to do this from the CF side of
things. You could of course limit their ability to access certain
directories on the network based on their network login, but that would
all be handled on the network security side of things.
Matt
--
Matt Woodward
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest
-
onflash #3
Re: Limiting Browse Directory in Upload
Thanks, but are there no CFX tags (java or c++) available that can handle such ?
onflash Guest
-
onflash #4
Re: Limiting Browse Directory in Upload
Thanks, but are there no CFX extensions (java or c++) available that can handle such ?
onflash Guest
-
PaulH #5
Re: Limiting Browse Directory in Upload
actually i participated in a thread about this a month or so ago. you might try jupload ([url]http://jupload.biz/[/url]) if java applets are acceptable.
PaulH Guest
-
mpwoodward *TMM* #6
Re: Limiting Browse Directory in Upload
onflash wrote:
This is a limitation of the browser--it's not a server-side technology> Thanks, but are there no CFX extensions (java or c++) available that can handle such ?
issue. You *might* be able to write an Active-X control that could do
this (on a PC in IE only mind you) or possibly a signed Java applet
(because out of the box a Java applet is a lot more locked down than
Active-X) that would do something along these lines, but that obviously
can get pretty complex pretty quickly and relies on the user have the
appropriate browser technologies installed. Unfortunately I'm afraid
you're a bit stuck but I'll be curious to see if anyone has any other
suggestions.
--
Matt Woodward
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest
-
mpwoodward *TMM* #7
Re: Limiting Browse Directory in Upload
PaulH wrote:
Thanks Paul--I responded before I read your suggestion. Great to know!> actually i participated in a thread about this a month or so ago. you might try jupload ([url]http://jupload.biz/[/url]) if java applets are acceptable.
>
Matt
--
Matt Woodward
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest
-
MikerRoo #8
Re: Limiting Browse Directory in Upload
Onflash, If the directory is known and limited, you can achieve the desired
result by using cfdirectory to present a list of files and then using cffile to
'upload' it. You will need to run coldfusion under a user account (on a
windows server) -- not the default 'local system'. And, that account will
need to have read permission on the network share.
MikerRoo Guest



Reply With Quote

