akoIT
asked on
Can this server url convert into client resolved url to access the file on the client side?
as a security reason, can I view the pdf report from this:
Server URL: sample = String.Format("{0}?t={1}", HttpContext.Current.Reques t.Url.GetL eftPart(Ur iPartial.A uthority) & ResolveUrl("~/") & "ReportRepository/" & "/" & filName.pdf, DateTime.Now.Ticks)
Client Physical Path: C:\Users\jmanuel001\AppDat a\Local\Te mp\filName .pdf
then view it in: <embed type="applcation/pdf"> tag in ASP.Net
Note that I can access the created file in the temp folder but the pdf says: "Acrobat Reader, Access Denied".
Server URL: sample = String.Format("{0}?t={1}",
Client Physical Path: C:\Users\jmanuel001\AppDat
then view it in: <embed type="applcation/pdf"> tag in ASP.Net
Note that I can access the created file in the temp folder but the pdf says: "Acrobat Reader, Access Denied".
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.