Hey all,
I'm hitting a wall... We have many daily reports generated on another
server, need to present list of available files and allow user to download
desired files from aspx page... any suggestions on how to do this? The
other server is running Win2K3 with SQL but no IIS... tried mapping drives
and setting up shortcuts, nothing allows permissions from IIS_Guest
account...
even a "Can't Get there from here..." would be appreciated at this point!
many thanks in advance....
wardeaux 7 1346
Its a permissions problem. Your asp page would have to impersonate a user
who could connect to that remote server to allow it to run as that user.
Then your anonymous guests could access the remote server via the page that
is impersonating the privelaged user.
Always a really tricky problem.
Stating the obvious - why dont you just install IIS to the SQL box, or
install something like tiny web server. Save yourself a lot of headaches.
--
Regards
John Timney
Microsoft Regional Director
Microsoft MVP
"Wardeaux" <wa******@bells outh.net> wrote in message
news:Ou******** ******@TK2MSFTN GP09.phx.gbl... Hey all, I'm hitting a wall... We have many daily reports generated on another server, need to present list of available files and allow user to download desired files from aspx page... any suggestions on how to do this? The other server is running Win2K3 with SQL but no IIS... tried mapping drives and setting up shortcuts, nothing allows permissions from IIS_Guest account... even a "Can't Get there from here..." would be appreciated at this point!
many thanks in advance.... wardeaux
John,
thanks for the reply. Any suggestions on good articles on setting up
"impersonation" ... Installing IIS on the SQL box is a good suggestion, but
because of security requirements, we're not allowed to have both IIS and SQL
on the same box, (strange but true...)... anyways looks like impersonation
is a viable(?) option... any suggestions on articles and reading is most
appreciated! :)
many thanks!
wardeaux
"John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Its a permissions problem. Your asp page would have to impersonate a user who could connect to that remote server to allow it to run as that user. Then your anonymous guests could access the remote server via the page
that is impersonating the privelaged user.
Always a really tricky problem.
Stating the obvious - why dont you just install IIS to the SQL box, or install something like tiny web server. Save yourself a lot of headaches.
-- Regards
John Timney Microsoft Regional Director Microsoft MVP
"Wardeaux" <wa******@bells outh.net> wrote in message news:Ou******** ******@TK2MSFTN GP09.phx.gbl... Hey all, I'm hitting a wall... We have many daily reports generated on another server, need to present list of available files and allow user to
download desired files from aspx page... any suggestions on how to do this? The other server is running Win2K3 with SQL but no IIS... tried mapping
drives and setting up shortcuts, nothing allows permissions from IIS_Guest account... even a "Can't Get there from here..." would be appreciated at this
point! many thanks in advance.... wardeaux
Maybe another option would be for the SQL server to push the files to the
webserver?
I think impersonation is the way to go though. I've used impersonation in
the past to solve this sort of problem.
Michael
"Wardeaux" <wa******@bells outh.net> wrote in message
news:Oy******** ******@TK2MSFTN GP09.phx.gbl... John, thanks for the reply. Any suggestions on good articles on setting up "impersonation" ... Installing IIS on the SQL box is a good suggestion, but because of security requirements, we're not allowed to have both IIS and
SQL on the same box, (strange but true...)... anyways looks like
impersonation is a viable(?) option... any suggestions on articles and reading is most appreciated! :) many thanks! wardeaux
"John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Its a permissions problem. Your asp page would have to impersonate a
user who could connect to that remote server to allow it to run as that user. Then your anonymous guests could access the remote server via the page that is impersonating the privelaged user.
Always a really tricky problem.
Stating the obvious - why dont you just install IIS to the SQL box, or install something like tiny web server. Save yourself a lot of
headaches. -- Regards
John Timney Microsoft Regional Director Microsoft MVP
"Wardeaux" <wa******@bells outh.net> wrote in message news:Ou******** ******@TK2MSFTN GP09.phx.gbl... Hey all, I'm hitting a wall... We have many daily reports generated on
another server, need to present list of available files and allow user to download desired files from aspx page... any suggestions on how to do this?
The other server is running Win2K3 with SQL but no IIS... tried mapping drives and setting up shortcuts, nothing allows permissions from IIS_Guest account... even a "Can't Get there from here..." would be appreciated at this point! many thanks in advance.... wardeaux
how about a simple <identity impersonate="tr ue"
userName="domai n_user_withFold erRightsOnly" password="user_ password" /> in
your web.config ... then the magic happens ...
"Wardeaux" <wa******@bells outh.net> wrote in message
news:Oy******** ******@TK2MSFTN GP09.phx.gbl... John, thanks for the reply. Any suggestions on good articles on setting up "impersonation" ... Installing IIS on the SQL box is a good suggestion, but because of security requirements, we're not allowed to have both IIS and
SQL on the same box, (strange but true...)... anyways looks like
impersonation is a viable(?) option... any suggestions on articles and reading is most appreciated! :) many thanks! wardeaux
"John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Its a permissions problem. Your asp page would have to impersonate a
user who could connect to that remote server to allow it to run as that user. Then your anonymous guests could access the remote server via the page that is impersonating the privelaged user.
Always a really tricky problem.
Stating the obvious - why dont you just install IIS to the SQL box, or install something like tiny web server. Save yourself a lot of
headaches. -- Regards
John Timney Microsoft Regional Director Microsoft MVP
"Wardeaux" <wa******@bells outh.net> wrote in message news:Ou******** ******@TK2MSFTN GP09.phx.gbl... Hey all, I'm hitting a wall... We have many daily reports generated on
another server, need to present list of available files and allow user to download desired files from aspx page... any suggestions on how to do this?
The other server is running Win2K3 with SQL but no IIS... tried mapping drives and setting up shortcuts, nothing allows permissions from IIS_Guest account... even a "Can't Get there from here..." would be appreciated at this point! many thanks in advance.... wardeaux
Thats where I would start ......simple impersonation with a named account.
Micheal suggests something interesting though - could you put a directory
watcher in place that pushed the reports to the IIS server when the
directory gets updated? The win2k resource kit even has a replication tool
in it that already does this you wouldn't even need to write anything.
Regards
John Timney
Microsoft Regional Director
Microsoft MVP
"Malek" <ke****@arrabet a.com> wrote in message
news:Oa******** ******@tk2msftn gp13.phx.gbl... how about a simple <identity impersonate="tr ue" userName="domai n_user_withFold erRightsOnly" password="user_ password" /> in your web.config ... then the magic happens ...
"Wardeaux" <wa******@bells outh.net> wrote in message news:Oy******** ******@TK2MSFTN GP09.phx.gbl... John, thanks for the reply. Any suggestions on good articles on setting up "impersonation" ... Installing IIS on the SQL box is a good suggestion,
but because of security requirements, we're not allowed to have both IIS and SQL on the same box, (strange but true...)... anyways looks like impersonation is a viable(?) option... any suggestions on articles and reading is most appreciated! :) many thanks! wardeaux
"John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Its a permissions problem. Your asp page would have to impersonate a user who could connect to that remote server to allow it to run as that
user. Then your anonymous guests could access the remote server via the
page that is impersonating the privelaged user.
Always a really tricky problem.
Stating the obvious - why dont you just install IIS to the SQL box, or install something like tiny web server. Save yourself a lot of headaches. -- Regards
John Timney Microsoft Regional Director Microsoft MVP
"Wardeaux" <wa******@bells outh.net> wrote in message news:Ou******** ******@TK2MSFTN GP09.phx.gbl... > Hey all, > I'm hitting a wall... We have many daily reports generated on another > server, need to present list of available files and allow user to
download > desired files from aspx page... any suggestions on how to do this? The > other server is running Win2K3 with SQL but no IIS... tried mapping drives > and setting up shortcuts, nothing allows permissions from IIS_Guest > account... > even a "Can't Get there from here..." would be appreciated at this point! > > many thanks in advance.... > wardeaux > >
John,
My news reader didn't get all the other comments, only yours... so:
malek: thanks for the suggestion.
Michael/John: thanks for the suggestion... unfortunately the folder contains
a couple Gb of reports, and we really don't want those duplicated on our IIS
server if we don't have to... however, we'll keep that as a "last resort"
option.
Thanks again, all!
wardeaux
"John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message
news:OE******** ******@tk2msftn gp13.phx.gbl... Thats where I would start ......simple impersonation with a named account.
Micheal suggests something interesting though - could you put a directory watcher in place that pushed the reports to the IIS server when the directory gets updated? The win2k resource kit even has a replication
tool in it that already does this you wouldn't even need to write anything.
Regards
John Timney Microsoft Regional Director Microsoft MVP
"Malek" <ke****@arrabet a.com> wrote in message news:Oa******** ******@tk2msftn gp13.phx.gbl... how about a simple <identity impersonate="tr ue" userName="domai n_user_withFold erRightsOnly" password="user_ password" />
in your web.config ... then the magic happens ...
"Wardeaux" <wa******@bells outh.net> wrote in message news:Oy******** ******@TK2MSFTN GP09.phx.gbl... John, thanks for the reply. Any suggestions on good articles on setting
up "impersonation" ... Installing IIS on the SQL box is a good suggestion, but because of security requirements, we're not allowed to have both IIS
and SQL on the same box, (strange but true...)... anyways looks like impersonation is a viable(?) option... any suggestions on articles and reading is
most appreciated! :) many thanks! wardeaux
"John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. > Its a permissions problem. Your asp page would have to impersonate
a user > who could connect to that remote server to allow it to run as that user. > Then your anonymous guests could access the remote server via the page that > is impersonating the privelaged user. > > Always a really tricky problem. > > Stating the obvious - why dont you just install IIS to the SQL box,
or > install something like tiny web server. Save yourself a lot of
headaches. > > -- > Regards > > John Timney > Microsoft Regional Director > Microsoft MVP > > > "Wardeaux" <wa******@bells outh.net> wrote in message > news:Ou******** ******@TK2MSFTN GP09.phx.gbl... > > Hey all, > > I'm hitting a wall... We have many daily reports generated on another > > server, need to present list of available files and allow user to download > > desired files from aspx page... any suggestions on how to do this? The > > other server is running Win2K3 with SQL but no IIS... tried
mapping drives > > and setting up shortcuts, nothing allows permissions from
IIS_Guest > > account... > > even a "Can't Get there from here..." would be appreciated at this point! > > > > many thanks in advance.... > > wardeaux > > > > > >
If you cant get the permission sorted for your aspx page to access the
remote server - given what you have said, I would look at putting a small
free standing web server on the server and using that instead. Simple read
only access to a file list, or you could easily present that using the net
webclasses through aspx and have access directly to the remote server that
way.
Regards
John Timney
Microsoft Regional Director
Microsoft MVP
"Wardeaux" <wa******@bells outh.net> wrote in message
news:#J******** ******@TK2MSFTN GP10.phx.gbl... John, My news reader didn't get all the other comments, only yours... so: malek: thanks for the suggestion. Michael/John: thanks for the suggestion... unfortunately the folder
contains a couple Gb of reports, and we really don't want those duplicated on our
IIS server if we don't have to... however, we'll keep that as a "last resort" option.
Thanks again, all! wardeaux
"John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message news:OE******** ******@tk2msftn gp13.phx.gbl... Thats where I would start ......simple impersonation with a named
account. Micheal suggests something interesting though - could you put a
directory watcher in place that pushed the reports to the IIS server when the directory gets updated? The win2k resource kit even has a replication tool in it that already does this you wouldn't even need to write anything.
Regards
John Timney Microsoft Regional Director Microsoft MVP
"Malek" <ke****@arrabet a.com> wrote in message news:Oa******** ******@tk2msftn gp13.phx.gbl... how about a simple <identity impersonate="tr ue" userName="domai n_user_withFold erRightsOnly" password="user_ password"
/> in your web.config ... then the magic happens ...
"Wardeaux" <wa******@bells outh.net> wrote in message news:Oy******** ******@TK2MSFTN GP09.phx.gbl... > John, > thanks for the reply. Any suggestions on good articles on setting up > "impersonation" ... Installing IIS on the SQL box is a good
suggestion, but > because of security requirements, we're not allowed to have both IIS and SQL > on the same box, (strange but true...)... anyways looks like impersonation > is a viable(?) option... any suggestions on articles and reading is most > appreciated! :) > many thanks! > wardeaux > > "John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in
message > news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. > > Its a permissions problem. Your asp page would have to
impersonate a user > > who could connect to that remote server to allow it to run as that user. > > Then your anonymous guests could access the remote server via the page > that > > is impersonating the privelaged user. > > > > Always a really tricky problem. > > > > Stating the obvious - why dont you just install IIS to the SQL
box, or > > install something like tiny web server. Save yourself a lot of headaches. > > > > -- > > Regards > > > > John Timney > > Microsoft Regional Director > > Microsoft MVP > > > > > > "Wardeaux" <wa******@bells outh.net> wrote in message > > news:Ou******** ******@TK2MSFTN GP09.phx.gbl... > > > Hey all, > > > I'm hitting a wall... We have many daily reports generated on another > > > server, need to present list of available files and allow user
to > download > > > desired files from aspx page... any suggestions on how to do
this? The > > > other server is running Win2K3 with SQL but no IIS... tried
mapping > drives > > > and setting up shortcuts, nothing allows permissions from IIS_Guest > > > account... > > > even a "Can't Get there from here..." would be appreciated at
this > point! > > > > > > many thanks in advance.... > > > wardeaux > > > > > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Morgan |
last post by:
I am using the following link to download a file of about 50k
<a target= "_blank"
href="http://www.bsecs.org.uk/ExecDocs/documentStore/elfridaWord.doc">open
file</a>
If I save the file to hard disk there is no problem/
if, in response to the menu which appears before downloading, I opt to
open the doc file immediately then I get a problem.
|
by: Tony K |
last post by:
I have the most peculiar problem with an ASP.NET page which we use for
downloading a file.
When the user clicks on a link, the link points to an ASPX page which
downloads the file selected.
The code works fine except after the user saves the file, the links on the
left side of the
frameset do not work. IE locks up.
|
by: Shawn |
last post by:
Hi.
How can I download a file and store it on the web server. I have a complete
URL to the file, but I never know what kind of file it is. It can be pdf,
jpg, tif, doc, xls etc.
Thanks,
Shawn
|
by: UJ |
last post by:
Folks,
We provide custom content for our customers. Currently we put the files on
our server and people have a program we provide that will download the
files. These files are usually SWF, HTML or JPG files. The problem as I see
it - if you know the name of the file, you could download it off the server
(currently we are using an HTTP/Get but I'm going to be using WebClient in
the new version.)
If there any way to password protect the...
|
by: just.starting |
last post by:
Hi,
My dot net client downloads files and checks for any new files time to
time. The server is apache2.0.53 server. So what happens is that my
file download thing works fine if I dont try to call any page from the
server while downloading. If I try to call a single page while
downloading a file then the page request goes time out and the server
then closes the existing download stream and the client doestn't throw
any exception. So many a...
| |
by: just.starting |
last post by:
Hi,
My dot net client downloads files and checks for any new files time to
time. The server is apache2.0.53 server. So what happens is that my
file download thing works fine if I dont try to call any page from the
server while downloading. If I try to call a single page while
downloading a file then the page request goes time out and the server
then closes the existing download stream and the client doestn't throw
any exception. So many a...
|
by: Trapulo |
last post by:
Hi, I've a big trouble with an asp.net page.
Basically, the page has an swf that starts and downloads some data from an
other asp.net page. The application works well on my testing IIS 6, but when
I upload it on production server (an other IIS6), it cannot download
anything. The application is in ASP.NET 2.0.
The page with swf, the swf, and the page that renders data (as xml) are on
the same domain and same web site. The site has form...
|
by: rogersw8n |
last post by:
Some how, some way the account that creates folders under Temporary
Internet files has been changed to a domain account for VS 2003 and VS
2005. I recently installed VS 2005. All seemed to be ok afterwards.
I did no development for a couple of weeks, came back and I kept
receiving Access Denied to Microsoft.Net\Temporary Internet Files\...
Access is Denied. ASPNET had full access to that file and all
subfolders. The website I am...
|
by: cyusman |
last post by:
Hi,
We have just moved our application to a new webfarm server environment
which utilizing hardware load balancing, SSL off-loading and HTTP
compression off-loading.My application is running on .NET 1.1, IIS 6,
Win2003.
Now we are having problem when trying to download word documents
located in the file server. It often says Internet Explorer cannot
download <filenamefrom <servername>. Sometimes we are able to view
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |