An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Topic Options
#26671 - 09/09/13 12:51 PM Safari/AutoFill
artie505 Online


Registered: 08/04/09
(Safari 5.1.9) I'd like to trash ~/Library/Preferences/com.apple.Safari.plist in an attempt to cure some recurring, possibly plist related, weirdness, but I want to be certain that I won't lose my AutoFill items in the process.

I've found that deleting an item from Safari > Prefs > AutoFill causes it to be deleted from my keychain, but I can't figure out where Safari stores its database, and (clone notwithstanding) I don't want to risk losing it. (It doesn't look like it's in the plist, but I want to be 100% certain.)

Am I at risk?

Thanks.
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26672 - 09/09/13 04:18 PM Re: Safari/AutoFill [Re: artie505]
jchuzi Online


Registered: 08/04/09
Loc: New York State
What is the "recurring ... weirdness" that you are experiencing? Let's see if we can diagnose it before you go trashing plists or other things.
_________________________
Jon

OS 10.14.3, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365

Top
#26673 - 09/09/13 04:47 PM Re: Safari/AutoFill [Re: jchuzi]
artie505 Online


Registered: 08/04/09
Have a go at it...

Safari > Prefs > General is set at "Safari opens with: All windows from last session," but every once in a too often while, although it opens with the correct two tabs from the last session, the tab on the left, while headed appropriately, comes without a URL in its address bar, so all I get is a correctly titled blank window.

Note that I never clear Safari's history, and, although I can't imagine its making an iota of difference, the two tabs have been FTM on the left (always) and Wunderground on the right (mostly, if not always), so it's always been FTM's URL that's been missing.

(And, for info purposes, have you got any idea where AutoFill's database lives?)

Edit: The path to AutoFill in my OP is incomplete... Safari> Prefs > AutoFill > User names and passwords. (It's the only AutoFill functionality I use.)


Edited by artie505 (09/09/13 05:54 PM)
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26674 - 09/09/13 07:23 PM Re: Safari/AutoFill [Re: artie505]
dkmarsh Offline
Moderator

Registered: 08/04/09

You could move ~/Library/Preferences/com.apple.Safari.plist to the Desktop and see what happens when you launch Safari. You can always move it back and overwrite the newly-created plist if you're unhappy with the consequences. (This is where TimeMachine excels, BTW: you can screw up—like I did when experimenting with the move described above—and recover gracefully anyway.)

I think you'll find that trashing Safari's prefs has no adverse effect on your Safari passwords. (AFAIK, they're actually stored in your keychain.)
_________________________

dkmarsh • member, FineTunedMac Co-op Board of Directors

Top
#26677 - 09/09/13 10:36 PM Re: Safari/AutoFill [Re: dkmarsh]
artie505 Online


Registered: 08/04/09
I always forget about moving plists to my desktop, but then again, impetuous trashing is one of my personality quirks.

You're correct about the passwords being stored in Keychain Access; I already mentioned that deleting one from Safari's prefs results in its deletion from my keychain.

I guess my real question is "Where does the link between Safari and Keychain Access live?"
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26678 - 09/09/13 11:50 PM Re: Safari/AutoFill [Re: artie505]
tacit Offline


Registered: 08/03/09
Loc: Portland, Oregon, USA
Originally Posted By: artie505
Have a go at it...

Safari > Prefs > General is set at "Safari opens with: All windows from last session," but every once in a too often while, although it opens with the correct two tabs from the last session, the tab on the left, while headed appropriately, comes without a URL in its address bar, so all I get is a correctly titled blank window.


I've seen that happen if the server that the Web site lives on is not responding for whatever reason.
_________________________
Photo gallery, all about me, and more: www.xeromag.com/franklin.html

Top
#26679 - 09/10/13 12:02 AM Re: Safari/AutoFill [Re: tacit]
artie505 Online


Registered: 08/04/09
This is the only instance I've ever run into of a non-responding server that doesn't show a spinning "loading icon" and eventually generate a pop-up "Server not responding" window.

In case you didn't read more, this has only happened with FTM; does that mean anything?

Edit: And I don't recall it ever happening when FTM was the only window/tab to be reopened...only with multiple tabs.


Edited by artie505 (09/10/13 01:48 AM)
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26681 - 09/10/13 03:13 AM Re: Safari/AutoFill [Re: artie505]
dkmarsh Offline
Moderator

Registered: 08/04/09

Quote:
"Where does the link between Safari and Keychain Access live?"

I believe it lies within the bones of Safari.app itself. In other words, there is no Safari database of passwords; Safari simply acts as a front end to your keychain in the matter of website passwords. When it offers to store a password you've just entered, and you say yes, it passes the information to your keychain.

When you visit a site which presents a password form, Safari consults your keychain, and, if it finds a matching site address in the keychain, retrieves the stored password.

I don't have any link which states this relationship authoritatively; it's just the way I've always believed Safari handles stored passwords, and I've not seen anything which contradicts it, and several behaviors which support it. For example, before I added my old Leopard login keychain to ~/Library/Keychains on my new Mac mini, I would get "Safari wants to use the [Leopard login] keychain" if I visited a site for which I'd maintained a saved password in my Leopard installation—but only if my Leopard clone was mounted.
_________________________

dkmarsh • member, FineTunedMac Co-op Board of Directors

Top
#26699 - 09/10/13 10:53 PM Re: Safari/AutoFill [Re: dkmarsh]
artie505 Online


Registered: 08/04/09
Thanks for the analysis.

Based on the interaction between Safari and Keychain Access that I've seen, I'm inclined to agree with you.

(And if you couldn't find a link, I'm inclined to believe that none exists.)
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top

Moderator:  alternaut, dianne, MacManiac