Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Powerpoint presentation issue.

Reply
Thread Tools

Powerpoint presentation issue.

 
 
Bredahl jensen
Guest
Posts: n/a
 
      02-03-2005

Hello,
At some point in my application, i need to show a power point presentation
to users.
How can this be done?
The power point is uploaded from a web page . Should i store it in the
database or
on the hard disk.?
Assuming the the host pc has some kind of power point viewer installed.
How can i from asp.net serve the power point document my users?


Many thanks


JB


 
Reply With Quote
 
 
 
 
Yunus Emre ALPÍZEN
Guest
Posts: n/a
 
      02-03-2005
You should store in a database as a binary image and to show powerpoint you
should set ResponseHeader to content type "application/ms-powerpnt" and
write binary output to response. You shouldn't store the file directly in a
folder for the security reasons. Otherwise anyone uses a program like
FlashGet-Site Explorer can easily download files..

--
Thanks,
Yunus Emre ALPÍZEN



"Bredahl jensen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Hello,
> At some point in my application, i need to show a power point presentation
> to users.
> How can this be done?
> The power point is uploaded from a web page . Should i store it in the
> database or
> on the hard disk.?
> Assuming the the host pc has some kind of power point viewer installed.
> How can i from asp.net serve the power point document my users?
>
>
> Many thanks
>
>
> JB
>
>



 
Reply With Quote
 
 
 
 
=?Utf-8?B?c2FyYQ==?=
Guest
Posts: n/a
 
      02-03-2005
Hi Bredahl
more efficent to download on hard desk let the user to choose open or save
and dont making load on DB
hope this help

"Bredahl jensen" wrote:

>
> Hello,
> At some point in my application, i need to show a power point presentation
> to users.
> How can this be done?
> The power point is uploaded from a web page . Should i store it in the
> database or
> on the hard disk.?
> Assuming the the host pc has some kind of power point viewer installed.
> How can i from asp.net serve the power point document my users?
>
>
> Many thanks
>
>
> JB
>
>
>

 
Reply With Quote
 
Bredahl jensen
Guest
Posts: n/a
 
      02-03-2005
Many thanks. I'll prefer this suggestion as the user should no┤t interact
with the power point viewing.

Is there a way to control how long the power point presentation should run
on the client browser?


"Yunus Emre ALPÍZEN" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You should store in a database as a binary image and to show powerpoint

you
> should set ResponseHeader to content type "application/ms-powerpnt" and
> write binary output to response. You shouldn't store the file directly in

a
> folder for the security reasons. Otherwise anyone uses a program like
> FlashGet-Site Explorer can easily download files..
>
> --
> Thanks,
> Yunus Emre ALPÍZEN



 
Reply With Quote
 
Scott Allen
Guest
Posts: n/a
 
      02-03-2005
On Thu, 3 Feb 2005 12:29:07 +0200, "Yunus Emre ALPÍZEN"
<(E-Mail Removed)> wrote:

>You should store in a database as a binary image and to show powerpoint you
>should set ResponseHeader to content type "application/ms-powerpnt" and
>write binary output to response. You shouldn't store the file directly in a
>folder for the security reasons. Otherwise anyone uses a program like
>FlashGet-Site Explorer can easily download files..


If the .ppt files are kept on disk, one can map request for the .ppt
extension to the ASP.NET runtime and authorize the requests. This
prevents anon users from gaining access to the files.

--
Scott
http://www.OdeToCode.com/blogs/scott/



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control to display powerpoint presentation in ASP.NET Page Bipin ASP .Net 0 08-11-2006 02:56 PM
Show MS Powerpoint presentation in java application aalokgupta@gmail.com Java 3 02-03-2006 08:25 PM
Recommended dpi and pixels for Powerpoint presentation mhorrigan@jacobsonfloral.com Digital Photography 10 12-01-2005 08:28 PM
conversion from word document to Powerpoint presentation using vb.net NETRavi ASP .Net 0 11-16-2005 01:13 PM
powerpoint presentation barry ASP .Net 1 05-17-2005 04:03 PM



Advertisments