Powerpoint presentation issue.

Discussion in 'ASP .Net' started by Bredahl jensen, Feb 3, 2005.

  1. 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
    Bredahl jensen, Feb 3, 2005
    #1
    1. Advertising

  2. 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" <> wrote in message
    news:...
    >
    > 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
    >
    >
    Yunus Emre ALPÖZEN, Feb 3, 2005
    #2
    1. Advertising

  3. 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
    >
    >
    >
    =?Utf-8?B?c2FyYQ==?=, Feb 3, 2005
    #3
  4. 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" <> wrote in message
    news:...
    > 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, Feb 3, 2005
    #4
  5. Bredahl jensen

    Scott Allen Guest

    On Thu, 3 Feb 2005 12:29:07 +0200, "Yunus Emre ALPÖZEN"
    <> 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/
    Scott Allen, Feb 3, 2005
    #5
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. barry

    powerpoint presentation

    barry, May 17, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    448
    C Williams
    May 17, 2005
  2. NETRavi
    Replies:
    0
    Views:
    1,697
    NETRavi
    Nov 16, 2005
  3. Replies:
    3
    Views:
    803
  4. Bipin
    Replies:
    0
    Views:
    778
    Bipin
    Aug 11, 2006
  5. cp
    Replies:
    2
    Views:
    720
    Mark Rae
    May 3, 2007
Loading...

Share This Page