[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

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 >
> 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!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
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.
|
|