上传和阅读网页中的.doc文件 [英] upload & Read an .doc file in web page
本文介绍了上传和阅读网页中的.doc文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是lakshmana rao,
我有一个word文档,我想上传并阅读它,尤其是我只想在我的网页本身中读取"ms office word"中的.doc文件.(不要打开文件外面).
(注意:是否有机会限制客户端没有下载或保存该文件)请帮助我.
Hi This is lakshmana rao,
I have a word documents, and i want to upload and read that, and especially i want to read .doc file in "ms office word" in my web page itself only.(not to open file out side).
(Note: is there any chance to restrict clients didn''t download or save that file) please help me.
推荐答案
您好,
以下链接可以帮助您解决问题.
转换Office将Word文档转换为HTML,并在ASP.Net中的浏览器中显示
文件拒绝-允许授权用户从您的站点下载文件-并阻止未经授权的用户!
使用HTTP处理程序保护您的可下载文件-我 [使用HTTP处理程序-II保护您的可下载文件 [使用HTTP处理程序-III保护您的可下载文件 [
hello there
following links may help you sort out your problem.
Convert Office Word Document to HTML and display it in browser in ASP.Net
File Denial - Let authorized users download files from your site - and keep unauthorized users out!
Protect Your Downloadable Files Using HTTP Handlers - I[^]
Protect Your Downloadable Files Using HTTP Handlers - II[^]
Protect Your Downloadable Files Using HTTP Handlers - III[^]
Best Regards.
说实话,不建议使用Microsoft Office自动化.阅读有关Office的服务器端自动化的建议 [ Telerik编辑器控件. [ https://docs.google.com/viewer [
To be honest Microsoft Office automation is not recommended. Read Recommendation for sever side automation of Office[^].
In order to view MS word online then you may have to go with third part controls. Like Telerik Editor control.[^]. It just like monster resume upload control. Or use google doc viewer https://docs.google.com/viewer[^]
For preventing download just look IncredibleRam answer.
这篇关于上传和阅读网页中的.doc文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文