Re: Access a file physically on a remote server
- From: "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 Aug 2005 11:19:45 -0400
>. I do not know how
> many places I have walked into where the anonymous account had full rights
> on
> directories and databases.
247, as I recall.
--
;-),
Kevin Spencer
Microsoft MVP
..Net Developer
Paranoia is just a state of mind.
"Cowboy (Gregory A. Beamer) - MVP" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx> wrote
in message news:1E62F870-828B-48D6-B4DF-2ABC6B07AF53@xxxxxxxxxxxxxxxx
> The access denied most likely comes because your application is set up for
> anonymous access. You need to be working as your windows login and have
> rights to the directory. You should then be able to do what you desire.
>
> As an alternative, you can completely destroy the security of your network
> by having a network admin account set up as the anonymous user account on
> your webserver. While this effectively sloughs off the work onto the
> network
> admins, which could be fun, I do not recommend this approach.
>
> NOTE: While the second (sarcastic) approach might sound stupid to some (if
> it does, great, you are one who understands the implications of granting
> your
> web server anon account full rights), it is far too common. I do not know
> how
> many places I have walked into where the anonymous account had full rights
> on
> directories and databases.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> ***************************
> Think Outside the Box!
> ***************************
>
>
> "Stephane" wrote:
>
>> Hi,
>>
>> Is there any way we can access a file using the physical path on a remote
>> server? I need to read and delete content of a remote directory on the
>> LAN.
>> All I got so far is access denied so I wonder if it's possible.
>>
>> Here's the situation:
>>
>> On a web server using IIS and ASP.NET, my ASP page tries to read a
>> distant
>> file using a path like \\172.31.3.3\reports\file.html. Once it's read, I
>> have
>> to delete it.
>>
>> What windows user is accessing the file? What permissions does he need?
>>
>> I could access it using HTTP but the problem would be to delete it. I
>> don't
>> know any way to delete a file using HTTP. Any idea?
>>
>> Thanks for any help,
>>
>> Stephane
.
- References:
- Access a file physically on a remote server
- From: Stephane
- RE: Access a file physically on a remote server
- From: Cowboy (Gregory A. Beamer) - MVP
- Access a file physically on a remote server
- Prev by Date: Re: Dynamic DataGrid
- Next by Date: My site is screwed
- Previous by thread: RE: Access a file physically on a remote server
- Next by thread: Re: Access a file physically on a remote server
- Index(es):
Relevant Pages
|