Temp folder for Charting

Discussion in 'Hosting Services / Control Panel' started by Pat, Mar 18, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Pat

    Pat

    I'm contemplating using charting on my web site. A jpg for the chart is written to a temp folder before being rendered to the browser. My question is, what temp folder should I set for charting? Does a folder need to be created within my virtual web space and then set to write. Or, would charting use the server's temp folder.

    Thanks
    Pat
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Users have no access to the temp folder on the server.

    You would need to create a folder within your web root to act as temp folder.

    Hope this helps.

    quote:Originally posted by Pat

    I'm contemplating using charting on my web site. A jpg for the chart is written to a temp folder before being rendered to the browser. My question is, what temp folder should I set for charting? Does a folder need to be created within my virtual web space and then set to write. Or, would charting use the server's temp folder.

    Thanks
    Pat
    </blockquote id="quote"></font id="quote">
     
  3. The charts could be created in the \Winnt\temp directory if the IUSR_machinename was given full privileges to the that specific directory. Not that it would happen, but that is how it could be done.

    Can you specify the temp directory from the app generating the chart.jpg file?
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    Yes. It could be done, but for system administration and security sake, we do not want to allow access to the temp directory.

    For instance, if one user write some files to the temp dir and forgot to remove it, it can be a potential security problem.

    It should be equally easy if user designate a directory in their webspace to be used as temp dir.


    quote:Originally posted by tourneymanagerpro

    The charts could be created in the \Winnt\temp directory if the IUSR_machinename was given full privileges to the that specific directory. Not that it would happen, but that is how it could be done.

    Can you specify the temp directory from the app generating the chart.jpg file?
    </blockquote id="quote"></font id="quote">
     
  5. Hello,

    I am using a component for creating charts on fly. This component is using a temp folder with pre-defined name. This is fine - I can easily create such folder in my web space. But it also requires that ASPNET user must have read/write access into this folder. How I can make it? Is it possible?

    Thanks,
    Boris
     
  6. Bruce

    Bruce DiscountASP.NET Staff

    The anonymous user already has read write permission to your web space. (Unless you have FrontPage extension installed)

    Give it a shot, if it gives an access deny error, drop support an email.

    Hope this helps.

    quote:Originally posted by bkagan98

    Hello,

    I am using a component for creating charts on fly. This component is using a temp folder with pre-defined name. This is fine - I can easily create such folder in my web space. But it also requires that ASPNET user must have read/write access into this folder. How I can make it? Is it possible?

    Thanks,
    Boris
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page