[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Formatless files

  • From: Dimitre Novatchev <dnovatchev@gmail.com>
  • To: Michael Kay <mike@saxonica.com>
  • Date: Sun, 14 Aug 2022 15:45:22 -0700

Re:  Formatless files
And sometimes what is a "program" and what is a file is not well defined.

Data can be programs, and programs can be data -- depending on who is the observer:

  • Passing a function as a parameter to another function. In this case the parameter is kind of "data' for the 2nd function.
  • Loading an XPath function library from a file. This is "data" for the loader, but "code/program" for the importer.
  • The swap file is data for an OS that supports virtual memory, but is maybe "all the program" for the program, without it actually being aware of this.

Thanks,
Dimitre

On Sun, Aug 14, 2022 at 3:02 PM Michael Kay <mike@saxonica.com> wrote:
>
> There are many cases when we don't want "any program" to read our file. And by "read" I mean "understand / get / extract the useful information".
>
> Consider a file that contains the hashes of (salted) network-ids and/or passwords of the users in an organization, or a smaller subset of this organization.
>

A classic example was an online game we played as students called "moo" - think Wordle, but 50 years earlier - that maintained a shared file containing the league table of everyone's scores. The program needs read and write access to the file, but the user playing the game must be prohibited from accessing the file directly. Today's commodity operating systems don't make this easy: it typically requires multiple processes.

Michael Kay
Saxonica





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.