Powerpoint presentation issue.

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
 
Y

Yunus Emre ALPÖZEN

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..
 
G

Guest

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
 
B

Bredahl jensen

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?
 
S

Scott Allen

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,522
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top