mstoltz%netscape.com
02eaec4711
Fixing 41876 r=hyatt, also 48724, 49768, and crasher in nsBasePrincipal.cpp, r=jtaylor
...
git-svn-id: svn://10.0.0.236/trunk@76849 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 02:06:52 +00:00
warren%netscape.com
895569159c
Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
...
git-svn-id: svn://10.0.0.236/trunk@76761 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 21:29:10 +00:00
warren%netscape.com
e5706a7236
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
mstoltz%netscape.com
6bfe9c11ce
Fixing 40159, nasty infinite recursion on startup. r&a=beard
...
git-svn-id: svn://10.0.0.236/trunk@74797 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 04:53:01 +00:00
mstoltz%netscape.com
65b118d587
Removing archive attribute from nsCertificatePrincipal. This will not be used.
...
git-svn-id: svn://10.0.0.236/trunk@70127 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:37:38 +00:00
mstoltz%netscape.com
a91654aee3
Fixing bustage in nsCertificatePrincipal.cpp
...
git-svn-id: svn://10.0.0.236/trunk@69975 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:15:56 +00:00
mstoltz%netscape.com
a24d345d24
Fixes for 32878, 37739. Added PR_CALLBACK macros. Changed security.principal pref syntax to a nicer syntax. Removed "security.checkxpconnect" hack.
...
git-svn-id: svn://10.0.0.236/trunk@69963 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:40:51 +00:00
scc%netscape.com
8d5a50fb63
string backsliding. r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@69402 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:53:02 +00:00
mstoltz%netscape.com
e5ac600ff0
Added archive attribute to nsICertificatePrincipal...part of fix for 37481.
...
git-svn-id: svn://10.0.0.236/trunk@67793 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:39:51 +00:00
mstoltz%netscape.com
1aebd93c62
Fixes for 27010, 32878, and 32948.
...
git-svn-id: svn://10.0.0.236/trunk@67181 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:50:07 +00:00
mstoltz%netscape.com
a8b220b370
Backing out changes until I can figure out why it's crashing on startup.
...
git-svn-id: svn://10.0.0.236/trunk@66937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 21:25:39 +00:00
mstoltz%netscape.com
85e8a5b8e2
Fixes for bugs 27010, 32878, 32948.
...
git-svn-id: svn://10.0.0.236/trunk@66935 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 20:30:29 +00:00
scc%netscape.com
28db414fa4
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@64827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:02 +00:00
norris%netscape.com
fd6ba38987
Adding nsAggregatePrincipal support. r=norris
...
git-svn-id: svn://10.0.0.236/trunk@63535 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:05:35 +00:00
norris%netscape.com
36450a3f42
Fix 25062 Reload vulnerability
...
25206 Reload vulnerability #2
Implement grant dialogs and persistence for capabilities.
most r=mstoltz, some code from morse w/ r=norris
git-svn-id: svn://10.0.0.236/trunk@60281 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:56:56 +00:00
norris%netscape.com
da871750f5
Fix crash in nsCodebasePrincipal::Equals when browser.registration.enable is set to true.
...
r=racham
git-svn-id: svn://10.0.0.236/trunk@59687 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 23:47:00 +00:00
norris%netscape.com
f1c520946d
Fix build bustage caused by mismatch of NS_IMETHOD usage.
...
git-svn-id: svn://10.0.0.236/trunk@58143 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 22:45:05 +00:00
mstoltz%netscape.com
55356cc71b
Implemented the reading of capabilities data from prefs. Reads codebase and certificate principal data and populates ScriptSecurityManager's principals table. bug= 18122 r=norris, rginda
...
git-svn-id: svn://10.0.0.236/trunk@58125 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:54:01 +00:00
norris%netscape.com
d83622d4ac
* Fix the following bugs by tightening the default security policy.
...
17977 [DOGFOOD] Reading documents using document.body
17538 document.lastModified is exposed
17537 document.images vulnerabilities
16036 [DOGFOOD] document.Element exposes the DOM of documents from
15757 [DOGFOOD] Injecting JS code using setAttribute and getElemen
15550 Injecting text in documents from any domain using createText
15067 [DOGFOOD] getElementsByTagName() allows reading of arbitrary
* Create an array of dom property policy types and initialize it when the script security manager is created.
* Move some implementation code to a new shared implementation base class.
* Implement privilege enabling, disabling and reverting
* Implement stack walking for checking privileges.
r=mstoltz@netscape.com
* Modify nsIPref to support security policy work.
r=neeti@netscape.com
git-svn-id: svn://10.0.0.236/trunk@53254 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:10:36 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
norris%netscape.com
34b474302b
Add all-powerful system principals. Remove some dead code from the build.
...
git-svn-id: svn://10.0.0.236/trunk@45380 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:35 +00:00
norris%netscape.com
3a6d863c13
* clean up nsScriptSecurityManager
...
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
arielb%netscape.com
ad40dbfcd5
includes updates to codbase matching security checks currently turned off
...
but in place. redefined the script security manager in caps and it is
now generating codebase principals.
git-svn-id: svn://10.0.0.236/trunk@43798 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 09:51:02 +00:00
arielb%netscape.com
a12b820894
added a new and improved factory to caps module. fixed some bugs and
...
cleared some warnings. also move some methods of privilege manager to
principal manager.
git-svn-id: svn://10.0.0.236/trunk@42563 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 22:44:35 +00:00
arielb%netscape.com
576dedd032
add a principal manager to caps api. everything is now xpidled so
...
i removed the public directory from the module.
git-svn-id: svn://10.0.0.236/trunk@41771 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 21:26:02 +00:00
bruce%cybersight.com
4e78218d9d
Add newlines for unix compilers.
...
git-svn-id: svn://10.0.0.236/trunk@41305 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 20:31:21 +00:00
arielb%netscape.com
35dc473dd3
Fix to the caps security module. I removed the nsPrincipal struct, from now
...
on you can access principals by their xpcomed interface nsIPrincipal.
git-svn-id: svn://10.0.0.236/trunk@40961 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 03:58:23 +00:00
sspitzer%netscape.com
208c43cdbe
add new line to end of file
...
git-svn-id: svn://10.0.0.236/trunk@39969 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 01:13:25 +00:00
arielb%netscape.com
e8083aedee
idled principals interfaces and some fixes to caps manager...
...
git-svn-id: svn://10.0.0.236/trunk@39741 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 20:31:18 +00:00