Closed
Bug 174522
Opened 23 years ago
Closed 13 years ago
"registry.dat" should be plain text like "pluginreg.dat"
Categories
(Core Graveyard :: Profile: BackEnd, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
mozilla1.5alpha
People
(Reporter: bugzilla, Assigned: ccarlen)
References
Details
Attachments
(1 file)
|
1.49 KB,
text/plain
|
Details |
I see a lot of people having problems with their profiles. Having
the "registry.dat" in plaintext like "pluginreg.dat" could help some of the
problems.
More important it could also help external programs parse the profile data.
The company I work for currently have dropped support for Mozilla since it's
almost impossible to located the profile data for by parsing the regitry.dat
| Assignee | ||
Comment 1•23 years ago
|
||
I completely agree. Though instead of being some custom format text file, it
should be XML. I've already started on the DTD for it.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.3alpha
| Reporter | ||
Comment 2•23 years ago
|
||
Cool! Way to go! Looking forward to this!
What about the dependencies with older versions like Mozilla 1.0, Netscape 6.x,
and 7.0, which use the same (binary) file?
| Reporter | ||
Comment 4•23 years ago
|
||
There could be a one time convert function, that converted the .dat file to a
.xml file. Perhaps this could be put together with the fact that Netscape and
Mozilla should be using different profiles.
The new file should just be called "profiles.xml"
| Assignee | ||
Comment 7•23 years ago
|
||
Mass move of 1.3a bugs -> 1.4a.
Target Milestone: mozilla1.3alpha → mozilla1.4alpha
Comment 8•23 years ago
|
||
Sorry if stupid question, but doesn't this negate purpose of salt directory?
| Assignee | ||
Comment 9•23 years ago
|
||
Balancing workload :-/
Target Milestone: mozilla1.4alpha → mozilla1.5alpha
Comment 10•23 years ago
|
||
Peter: no, why should it ?
Comment 11•23 years ago
|
||
Well, the the registry.dat file is in a "known" location (unsalted). If it were
plain text and its contents referred to the salted directory, it could be easily
read and the "hacker" could find anything within the salted directory. Thus, the
salted directory would be useless. I thought the salted directory was that
hackers (viruses) couldn't easily find the profile data. With the registry
showing the "way" to the profile data, it woud be "easy" to find ones way into
the salted directory. No?
| Assignee | ||
Comment 12•23 years ago
|
||
Since the registry file would have to be parsed in order to read a profile
location from it, having it in a binary format doesn't make it safe from attack,
just slightly harder.
But, anyway, if an attacker has the ability to open and parse a text file on
your drive, that attacker could just as easily delete your hard drive, salt or not.
Comment 13•23 years ago
|
||
ccarlen, could you attach the preliminary DTD file ? I'd like to have a look :)
| Assignee | ||
Comment 14•23 years ago
|
||
Sure - here's the initial format I did. If it looks familiar, it is. It's based
on CodeWarrior XML projects.
Comment 15•22 years ago
|
||
Is it possible for an attacker to somehow insert javascript into the registry
file, which could then be executed by giving the user a link to the registry
file itself?
Why does javascript loaded from a file have more permissions anyway?
Comment 16•22 years ago
|
||
Conrad, whats the status on your work?
I'm already drooling in anticipation of this fix. :)
ps: Until your fix gets merged, is there a standalone editor to edit registry.dat?
pps: Does the current registry.dat already support relative paths?
Comment 17•22 years ago
|
||
> Until your fix gets merged, is there a standalone editor to edit registry.dat?
try this: http://www.alain.knaff.lu/howto/MozillaCustomization/
Comment 18•22 years ago
|
||
The target milestone as a bit off :)
Comment 19•22 years ago
|
||
The target milestone is a bit off :)
Comment 20•22 years ago
|
||
Is there a way to change the location of registry.dat in Windows?
Comment 21•21 years ago
|
||
I've found that Firefox 0.9 and Thunderbird 0.7 uses "profile.ini", text base
profile index file, instead of "registry.dat".
Why "profile.ini" is still not implemented for Mozilla Suite?
Updated•16 years ago
|
QA Contact: ktrina → profile-manager-backend
Comment 22•13 years ago
|
||
File is no more.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•