in reply to Re^5: Private temporal files on Windows
in thread Private temporal files on Windows
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: Private temporal files on Windows
by BrowserUk (Patriarch) on Dec 20, 2014 at 12:44 UTC | |
If you have to go the private file route, this may help. It creates a file that can only be read by the current userid, and writes the password to it. It then waits for keyboard input and deletes the file. I've verified that other users, including administrators cannot read or delete the file, nor even inspect its permissions. Also, in theory, by using FILE_ATTRIBUTE_TEMPORARY, the contents may never actually be written to the disk, and (assuming a small file and a system file cache that is not overrun) only ever exist in cache. (In theory!)
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] [select] |
by salva (Canon) on Dec 21, 2014 at 23:11 UTC | |
| [reply] |
by BrowserUk (Patriarch) on Dec 22, 2014 at 01:29 UTC | |
When I tried to build Win32::SecretFile I got the following errors:
Which confuses me because in the exact same environment and using the same includes I build my code without errors:
I have a work around that fixes the unresolved externals (but not the 'ConvertSidToStringSid' undefined; assuming extern returning int?); and that is to explicitly use the A versions of the two functions:
The the build completes:
And the code the runs:
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] [select] |
by salva (Canon) on Dec 22, 2014 at 12:03 UTC | |
by BrowserUk (Patriarch) on Dec 22, 2014 at 14:59 UTC | |
by BrowserUk (Patriarch) on Dec 22, 2014 at 12:13 UTC |