prevent DRAG and DROP of file into IFRAME in HTA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i want to prevent a user from dropping a file into an IFRAME.
The IFRAME will try to navigate and open the file i have dropped. How do i
prevent this behavior. I am in an HTA
 
Hi Mike,
In this user account assign the following for the IE.
In the IE properties window, click on Secuirty Tab, then while the Internet
glob is highlighted and active click on customise.
in the opening window scroll down to Option:
* Drag and Drop or Copy and Paste Files
Select the Radio Disable.
Also the Option:
Launching Programs and files in an Iframe
Disable
Hope this helps
Please write back with your findings
Regards
nass
 
thanks for you response, but i am looking for a way to programatically do
this, is there any attribute or scripting that i can use to perform this.
 
Hi Mike,
I didn't do it before, but search for on the search engin, you may find what
you like the sound of it.

Good luck
nass
 
Back
Top