Re: Computer.FileSystem.DeleteFile not working over network

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



"Julia B" <JuliaB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:A4760C9B-E7EB-4F5D-8123-2E7356BFD94E@xxxxxxxxxxxxxxxx

Sorry about top posting, didn't know it was an issue.

Top-posting means people have to read backwards any thread that you reply to:
http://www.caliburn.nl/topposting.html


Users have requested one application as, although only one PC will upload
documents, the users on that PC will also use all the other functions and
don't want to move between applications, so a web application has been
selected to be the best method for the whole thing.

All modern browsers are specifically written to prevent this sort of direct interaction with the hardware and software of the machine on which they're running, for obvious reasons. E.g. if a web app can delete C:\MyUploadFile.txt, what's to stop it also deleting C:\bootmgr? A bit of an extreme example, but I trust you get the point...


With this in mind is there any way around this?

Not natively... You'd need to look at some sort of ActiveX control for this, but that would mean that you'd have to ramp the browser security right down just to get it to load, never mind run...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

.



Relevant Pages

  • Re: Computer.FileSystem.DeleteFile not working over network
    ... All modern browsers are specifically written to prevent this sort of direct ... E.g. if a web app can delete ... Mark Rae ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: import outlook contacts question
    ... read them to the web server for display and import. ... all modern browsers are designed specifically to prevent this sort of interaction with the hardware and software of the machine on which they are running. ... You'd need to come up with some sort of ActiveX solution, but you'd need to ramp the browser security right down just to get it to install, let alone run. ... You could even, I suppose, get them to upload the pst file itself, but then you're in the tricky territory of manipulating the file server-side without Outlook... ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Use of the Registry was Re: Conext Menus
    ... Doesn't look like you can include any sort of menu in your web page. ... for a web app. ... Google Maps uses AJAX, which lets you click and drag to scroll the map around. ...
    (comp.lang.cobol)
  • Re: [PHP] Looking for an Architectural Guru
    ... On Thu, May 3, 2007 9:24 am, bruce wrote: ... You might get more response if you include some kind of idea of what ... sort of web app you are building... ...
    (php.general)
  • Sorting a list of objects by multiple attributes
    ... objects by multiple attributes. ... I'd like to be able to arbitrarily sort by any combination of those in ... converting a web app from using SQL to using an ORM only and so the ... In SQL this is easy enough to accomplish, ...
    (comp.lang.python)