This is a migrated thread and some comments may be shown as answers.

ie9 Access is Denied

1 Answer 112 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 20 Sep 2012, 02:26 AM
Because the kendo ui upload widget doesn't play nicely with my layout and is extremely difficult to customize, I have created my own button to trigger the kendo upload input element: onClick="$('#upload').click()". This works in chrome and firefox, but in IE it throws a "Access is Denied" error. Clicking the upload widget doesn't throw the error. Is there any workaround for this? A method within the widget that triggers the file selection dialog?

Thanks
Matt

1 Answer, 1 is accepted

Sort by
0
Stéphane
Top achievements
Rank 1
answered on 22 Oct 2012, 06:47 PM
Hi,

I juste solved a similar issue with IE5: Access Denied with async file upload using the Kendu UI Upload.

As recommended by our security guys we added the following header: x-frame-options: DENY

The intent was to prevent other sites to include ours inside an IFrame. But it also prevented the file uploads using an IFrame like Kendo from working...

We were able to fix it by changing the value like this: x-frame-options: SAMEORIGIN

You might want to check your headers just to be shure...
Tags
Upload
Asked by
Matt
Top achievements
Rank 1
Answers by
Stéphane
Top achievements
Rank 1
Share this question
or