On Fri, Jun 24, 2011 at 11:36 PM, Roger Binns <rog...@rogerbinns.com> wrote: > On 06/24/2011 08:28 AM, Cheetah wrote: >> However, AFAICT, the standard form of a file: >> URI on windows for a UNC path uses exactly that. > > Are you proposing that SQLite somehow work out if the supplied name maps > back to the local machine? That would be mind numbingly hard! (Netbios > names, DNS names, host files, etc)
What I'm suggesting is that it should be possible to open any file via a URI that can be opened using the non-URI open call. The non-URI open call is not limited to the local machine, since it accepts UNC paths, so it doesn't seem like the URI open call should have different limitations. I don't suggest SQLite attempt to check if a UNC URI maps to the local machine, since it doesn't do that for the non-URI open call. AFAIK, the usage of the authority field in file URIs for this type of thing is unique to Windows. If a Windows environment hosting SQLite is worried about it accessing network resources in general, then that environment already has to be worried about UNC paths to the non-URI open calls, and in general about mapped drives and symlinks to UNC paths and mapped drives. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users