title: In CreateFile() what is the quickest way to assign Read-Only permissions to the standard user Everybody. And no permissions to anyone else
body: <p>In Windows, I have an application that needs to set the access control to the user/group 'Everybody' only. And sets permissions to Read-Only. Under Linux a Simple <code>open()</code> call with octal <code>004</code> permissions is sufficient. On Windows, how do I accomplish the same thing? Preferably in the call to <code>CreateFile()</code>.</p>