Powerpoint presentation issue.

  • Thread starter Thread starter Bredahl jensen
  • Start date Start date
B

Bredahl jensen

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
 
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..
 
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
 
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?
 
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.
 
Back
Top