|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Access rights for a web application to read a text file on a different serverI use windows 2000 and Visual Studio 2003.
I have a vbnet web application on our intranet that needs to read a text file that sits on a different server. The general user does not have access to the server where the text file is sitting. Is there any way my web application can be given access rights to read the text file? At the moment we copy the text file to the web server where it can be read by the web application. We have it scheduled to be copied every hour so it is more or less up to date. Regards, Jan Nordgreen Does the other server have the ability to create an account in active
directory? If so, have them do so, and then authenticate using wmi and read your file. This will allow you I/O abilities on the host server so you can read the file into a stream back to the host web app. You also have the option of using a web service. -- Show quoteHide quoteGet a powerful web, database, application, and email hosting with KJM Solutions http://www.kjmsolutions.com <jannordgr***@gmail.com> wrote in message news:1146496813.153369.157510@i40g2000cwc.googlegroups.com... >I use windows 2000 and Visual Studio 2003. > > I have a vbnet web application on our intranet that needs to read a > text file that sits on a different server. The general user does not > have access to the server where the text file is sitting. Is there any > way my web application can be given access rights to read the text > file? > > At the moment we copy the text file to the web server where it can be > read by the web application. We have it scheduled to be copied every > hour so it is more or less up to date. > > Regards, > > Jan Nordgreen > Jan,
Assuming that the server is in the same domain, You mean that the "ASPNET" user (the same as from the webserver, normal the domain one), should have to be given read rights to the file? In my opinion is that possible yes. Cor <jannordgr***@gmail.com> schreef in bericht Show quoteHide quote news:1146496813.153369.157510@i40g2000cwc.googlegroups.com... >I use windows 2000 and Visual Studio 2003. > > I have a vbnet web application on our intranet that needs to read a > text file that sits on a different server. The general user does not > have access to the server where the text file is sitting. Is there any > way my web application can be given access rights to read the text > file? > > At the moment we copy the text file to the web server where it can be > read by the web application. We have it scheduled to be copied every > hour so it is more or less up to date. > > Regards, > > Jan Nordgreen > Jan,
Assuming that your website is aspnet. Otherwise the IISuser (I am not sure anymore from that name) Cor <jannordgr***@gmail.com> schreef in bericht Show quoteHide quote news:1146496813.153369.157510@i40g2000cwc.googlegroups.com... >I use windows 2000 and Visual Studio 2003. > > I have a vbnet web application on our intranet that needs to read a > text file that sits on a different server. The general user does not > have access to the server where the text file is sitting. Is there any > way my web application can be given access rights to read the text > file? > > At the moment we copy the text file to the web server where it can be > read by the web application. We have it scheduled to be copied every > hour so it is more or less up to date. > > Regards, > > Jan Nordgreen > You can change the ASP.NET process identity and specify an impersonation
identity, granting that identity access on the server the file resides on, as described at: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q329290 <jannordgr***@gmail.com> wrote in message Show quoteHide quote news:1146496813.153369.157510@i40g2000cwc.googlegroups.com... > I use windows 2000 and Visual Studio 2003. > > I have a vbnet web application on our intranet that needs to read a > text file that sits on a different server. The general user does not > have access to the server where the text file is sitting. Is there any > way my web application can be given access rights to read the text > file? > > At the moment we copy the text file to the web server where it can be > read by the web application. We have it scheduled to be copied every > hour so it is more or less up to date. > > Regards, > > Jan Nordgreen > On 1 May 2006 08:20:13 -0700, jannordgr***@gmail.com wrote:
¤ I use windows 2000 and Visual Studio 2003. ¤ ¤ I have a vbnet web application on our intranet that needs to read a ¤ text file that sits on a different server. The general user does not ¤ have access to the server where the text file is sitting. Is there any ¤ way my web application can be given access rights to read the text ¤ file? ¤ ¤ At the moment we copy the text file to the web server where it can be ¤ read by the web application. We have it scheduled to be copied every ¤ hour so it is more or less up to date. Keep in mind that all of the above suggestions require the ability to delegate credentials to the remote server. The configuration will depend largely upon what type of authentication your web application is using (Anonymous, Basic, Integrated NT, etc.), so you may want to identity what that is. Paul ~~~~ Microsoft MVP (Visual Basic)
hierachical related data in datatset
VB2005 Pro Edition--Data Sources window is disabled when viewing forms Binding to an enumeration Multithreading Problem web reference to system.web.dll Converting VB Script Code to VB.NET 2005 Traversing a Collection evaluate or transform or ??? SelectionChangeCommitted event TCP send & Recieve |
|||||||||||||||||||||||