• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

open file

Hi Experts,

I was trying to open PDF or Text file within aspx but all in vain.
I have used sample accessing local file from help in Visual Studio by searching for File.Exists.

I would look at some sample code that does check security and may be something else I don't know about to be
able to access files from Network drives within aspx webform.

What else has to be done to make sure it is secure.

Thank you.

 
0
fpoyavo
Asked:
fpoyavo
  • 2
1 Solution
 
nauman_ahmedCommented:
Make sure that you use appropriate permissions while accessing file over the network. What kind of autentication you are using? Do you know about permissions in web.config? If no checkout the following tutorial:

http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=106

Best, Nauman.
0
 
nauman_ahmedCommented:
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now