Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6126311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:21:26+00:00 2026-05-23T16:21:26+00:00

There are two servers: webserver and server with PDF files. The webapplication need to

  • 0

There are two servers: webserver and server with PDF files. The webapplication need to read these files and redirect to the client (with Response class). But access from the webapplication to the another server is denied.

Webserver is member of domain, server with PDF files not.

What is the best solution to get access to the folder of files from the webapplication on the webserver? How to set the credentials?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:21:26+00:00Added an answer on May 23, 2026 at 4:21 pm

    Three options for you:

    1. Have the ASP.NET process impersonate a user account with rights on the file server. Here’s a similar StackOverflow question with some good answers:

    Need to Impersonate user forAccessing Network resource, Asp.Net Account

    1. Don’t pass the PDF files through the web server, just redirect the client to the UNC path where the PDF files are stored (if it is accessible to your users, i.e., the web site is running only within an internal network and the users have read rights on the PDF server.

    2. Install IIS on the file server pointed to the files, then have ASP.NET on your main web server either (a) redirect users to the file on that server, or (b) read the files using ASP.NET’s HTTP functionality and pass them to the Response.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

we have two webserver and we have dedicated the task between these two servers.
Suppose you have two linked servers called Local and Remote respectively. Is there a
There are two databases in SQL Server 2005: One called A and another one
Suppose that there're two types of packet in the chatting server. Those two packets
I'm working on a Linux based server system in which there are two network
There is a page on our server that's reachable via two different URLs. http://www.spotlight.com/6213-5613-0721
We have two tables in a SQL Server 2005 database, A and B.There is
In SQL Server 2000 and 2005: what is the difference between these two WHERE
In my application I use the WebClient class to download files from a Webserver
We are busy developing a Java web service for a client. There are two

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.