Re: Access a file physically on a remote server

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



>. 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


.



Relevant Pages

  • Re: Joining tables from two databases
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... Hitchhiker's Guide to Visual Studio and SQL Server ... I'm not really following how you are solving it using a service account. ... Are these 2 databases are SQL Server? ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Create Mysql database?
    ... Just think of PHP as your front end to your SQL server... ... That's a fine solution unless you're creating databases dynamically... ... Control the rights of the web app ... I set the default user for my connection to the read-only account and have ...
    (comp.lang.php)
  • Re: Exporting MS/SQL data to non-existing Excel Spreadsheet
    ... If you do this in Access, then Access started under your account. ... if you have the rights to create the spreadsheet, ... But if you send this command to SQL-Server, ... Access, databases (see ...
    (borland.public.delphi.database.ado)
  • Re: Removing IUSR_computername rights on IIS5
    ... What about IWAM_computername account? ... Removing IUSR_computername rights on IIS5 ... > and changing the IIS 5 default anonymous account? ...
    (Focus-Microsoft)
  • Re: Prevent changes to Administrator password
    ... What I am trying to do is give Taz1972 some options to minimize the risk or make it harder for a lower-level DA to reset the password for the EA account. ... * This posting is provided "AS IS" with no warranties and confers no rights! ... > By adding the Deny Write Permissions ACE, ... > permission to modify the ACL on AdminSDHolder. ...
    (microsoft.public.windows.server.active_directory)