ashx handler for viewing a PDF or Word

已取消 已发布的 Feb 8, 2016 货到付款
已取消 货到付款

Need ashx handler for viewing PDF files or any MS-Office file (Word, Excel, etc).

PDF and MS-Office files are stored in same web server where asp.net application is hosted.

Path of files:

..(localhost)/Documentos/2660/[url removed, login to view]

The idea of having this ashx viewer is to make those files only accessible through the asp.net web application and after user got authenticated.

It is not allowed to get or access those files through http like:

- http://MyHost/MyWebapp/Documentos/2660/[url removed, login to view]

or

- http://MyHost/MyWebapp/Documentos/2660/[url removed, login to view]

[url removed, login to view] restricts this kind of access with:

<security>

<requestFiltering>

<hiddenSegments>

<add segment="Documentos"/>

</hiddenSegments>

</requestFiltering>

</security>

Path of PDF file or Word file should be stored in variable.

I attach project example.

Language required: VB.Net

As usual, all source code is required.

ASP.NET

项目ID: #9595479

关于项目

3个方案 远程项目 活跃的Feb 8, 2016

有3名威客正在参与此工作的竞标,均价$30/小时

sitendrasahu9

Hello sir I have done this before. if u wish to hire me I will do ur work with in few hrs. Thank you.

$30USD 在1天里
(3条评论)
2.9
feninsoftech

Hi, This will be achieved by designing an ashx handler in ASP.NET. Handler will take file name in request, read file from physical location and return it in response. I have 9 years experience in C#, ASP.NET/ MVC 更多

$35USD 在1天里
(2条评论)
1.9
AmitabhPurohit

I have 5+ year experience in software development using asp.net 4.5 and sql server 2008 R2 . I worked on asp.net (c #,vb), j query , java script , crystal report , web services etc . I have experience in query , func 更多

$25USD 在1天里
(0条评论)
0.0