Re: Adding password for a file to keychain
Re: Adding password for a file to keychain
- Subject: Re: Adding password for a file to keychain
- From: Andrei Tchijov <email@hidden>
- Date: Tue, 20 Dec 2005 08:09:34 -0500
If you want to protect yourself from change of name (or moving file
inside one volume), you can use file node number (inode number). I
am not sure how to obtain it, but it definitely possible ( ls -i
showing it).
On Dec 20, 2005, at 8:04 AM, Glen Simmons wrote:
On Dec 20, 2005, at 12:50 AM, j o a r wrote:
On 19 dec 2005, at 23.05, Glen Simmons wrote:
I wish I could. This is a cross-platform app and I can't change
the file format.
How is this problem solved on those other platforms? Perhaps not
at all?
Would it perhaps be possible to add this data in a way that
doesn't affect the ability to read this file on other platforms?
How about adding it to the resource fork (I know, not very Mac OS
X...) as a last resort?
They match by path. :(
Also, now that I've tested some more, the thing I'm doing doesn't
work if the filename has changed. :(
Any other ideas?
You might be able to base your ability to recognize the file on a
hash of the file data?
Perhaps combined with a local lookup table of aliases to files,
and their keys in the keychain.
Some good ideas, thanks.
Glen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden