Solved

open file

Posted on 2004-10-21
159 Views
Last Modified: 2011-04-14
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
Question by:fpoyavo
    2 Comments
     
    LVL 25

    Accepted Solution

    by:
    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
     
    LVL 25

    Expert Comment

    by:nauman_ahmed
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

    875 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now