yad4u How to disable Export to Microsoft Excel in the IE browser right click?


How to disable Export to Microsoft Excel in the IE browser right click?



Is there any option to disable the Export to Microsoft Excel menu in the IE browser right click.

I tried the web.config method and also changing the system registry using regedit.exe

As i want this menu to be disabled to users who are accessing my application.




MVC.net exposing viewmodel static list to controller

1:



asp.net mvc 2 - Model Binding and Select Lists
The ability to Export to Microsoft Excel is a feature of Internet Explorer and is turned on by a registry setting.


Simple DropDownListFor in MVC2?
Therefore, from your web application you will not be able to prevent this behavior in any meaningful way..
Is it acceptable to have unhandled exceptions in ASP.NET web applications?


How to handle splitted date fields (year, month, day) in ASP.NET MVC


ASP.NET MVC with DDD architecture

2:



how to manage image file in c# for asp.net mvc web-application
"i dont want the user to access my data.".
erb <% expression -%> in aspx pages
If you don't want the user to access your data, don't put it on a public website.

Exporting it to Excel is just a tiny shortcut, copying and pasting can do the same thing.

And please don't even start to think about disabling copy and paste.. The golden rule of data on the web: Once it's out there, it's out there..


3:


You can probably generate your pages as images so that user can't export or copy.

But then you will probably have to disable PrintScreen button so that users can't OCR your text.. Some time ago online book readers fought to prevent users from copying the book text.

E.g.

they used JavaScript-generated text, and I think stuff like absolutely-positioned letters instead of plain text.

But they lost this fight.

And you will..



65 out of 100 based on 40 user ratings 1165 reviews