G
Guest
I have an application that pulls images from a physical drive directory,
creates a PDF of the image, caches the image, and returns a link to the
client (using ajax, but that's not the problem). I'm faced with having to do
this without knowing where this PDF cache location is. It may be on the
local drive, or it may be on a network share. What I'd like to do is have
the client add a Virtual Directory in IIS under the project web directory
that points to this cache, and then access this cache through IIS. Is this
possible? Would I be able to read and write to this (assuming the correct
security settings are added in IIS) using a relative path such as
"~/cachename/file.pdf"? Would I still have to give the ASPNET account rights
to this path, or impersonate someone with the correct rights? And are there
any resources on the web about reading/writing to virtual directories in
ASP.NET applications? TIA!
creates a PDF of the image, caches the image, and returns a link to the
client (using ajax, but that's not the problem). I'm faced with having to do
this without knowing where this PDF cache location is. It may be on the
local drive, or it may be on a network share. What I'd like to do is have
the client add a Virtual Directory in IIS under the project web directory
that points to this cache, and then access this cache through IIS. Is this
possible? Would I be able to read and write to this (assuming the correct
security settings are added in IIS) using a relative path such as
"~/cachename/file.pdf"? Would I still have to give the ASPNET account rights
to this path, or impersonate someone with the correct rights? And are there
any resources on the web about reading/writing to virtual directories in
ASP.NET applications? TIA!