On Thursday, January 22, 2004, at 05:52  PM, Ciliotta, Mario wrote:

> Does anyone know how to make a file upload input box read only.

If you go with one of the _javascript_ solutions recommend by others,
make sure you test it thoroughly on all browsers.  I seem to recall
that some browsers don't allow any access to file inputs via scripting
for security reasons.  The danger is that someone hides a file input
(through various techniques) and populates it with the path to a common
file using _javascript_.  If the user were to submit the form (or the
form were submitted via JS), the user's file would be stolen.

Christian
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to