Search the web
Sign In
New User? Sign Up
caplet · The Caplet Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 38 - 67 of 309   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
38
Tyler's "Bang Tutorial" <http://waterken.sourceforge.net/bang/> is the right place to start to understand the Javscript library used on the client to talk to...
Mark Miller
capsecure
Offline Send Email
Aug 20, 2007
3:16 pm
39
The Waterken server is itself built in Joe-E and provides distributed capability-based interaction for Joe-E objects via an https/json based crypto capability...
Mark Miller
capsecure
Offline Send Email
Aug 20, 2007
3:24 pm
40
The Waterken server itself can be downloaded from http://sourceforge.net/projects/waterken/ The core of the Javascript library that provides the API for...
Mark Miller
capsecure
Offline Send Email
Aug 20, 2007
4:03 pm
41
Google is continuing to do some really interesting stuff. http://ajaxian.com/archives/google-gears-02-developer-release...
Douglas Crockford
douglascrock...
Offline Send Email
Aug 30, 2007
5:02 pm
42
... From: Douglas Crockford <douglas@...> Date: Sep 1, 2007 4:42 PM Subject: [json] JSONRequest for Firefox To: json@yahoogroups.com Collin Jackson...
Mark Miller
capsecure
Offline Send Email
Sep 2, 2007
2:05 am
43
... From: Mark Miller <erights@...> Date: Sep 19, 2007 4:05 PM Subject: Techtalk by Doug Crockford on "Gears and the Mashup Problem" To: "General...
Mark Miller
capsecure
Offline Send Email
Sep 19, 2007
11:10 pm
44
JSLint.com contains an ADsafe feature. Its intent is to enforce a safe subset of JavaScript for use in ads and widgets. ADsafe requires no transformations. It...
Douglas Crockford
douglascrock...
Offline Send Email
Sep 30, 2007
4:52 pm
45
... Bravo! It would be elegant and possibly easy to annotate each warning with a category where the categories are those listed in the options box below. A...
Norman Hardy
fosdf
Offline Send Email
Sep 30, 2007
7:03 pm
46
And Object.eval isn't present on all browsers, so it breaks the rules but I thought I'd mention it: (function () { var x = {}; var y = 'evaluate'.substring(0,...
Mike Samuel
mikesamuel
Offline Send Email
Sep 30, 2007
10:32 pm
47
... If I submit anything starting with: <!-- I get the error: Problem at line NaN character NaN: stack has no properties I suspect that the 'NaN's here are...
David Hopwood
david.hopwood@...
Send Email
Sep 30, 2007
10:33 pm
48
(function () { var x = function () {}; var y = 'constructor'; var z = (x[y]); var w = z('alert("hi")'); w(); })(); cheers, mike...
Mike Samuel
mikesamuel
Offline Send Email
Sep 30, 2007
10:36 pm
49
Square brackets are clearly problematic, as they allow access to eval. I suggest you deny them entirely and (optionally) allow authors use the ADSAFE API to...
collin_jackson
Offline Send Email
Sep 30, 2007
11:09 pm
50
... What is the rule that is being applied to: (function () { var y = 'constructor'; ({}[y])('alert("hi")')(); })(); that provokes an ADsafe restriction, when ...
David Hopwood
david.hopwood@...
Send Email
Sep 30, 2007
11:33 pm
51
... This is a case where conciseness matters for the acceptability of the restriction, so I suggest something like: SET(foo, bar, GET(foo, bar) + 1); instead. ...
David Hopwood
david.hopwood@...
Send Email
Sep 30, 2007
11:40 pm
52
Or you allow an idiom that first asserts that the index is safe ('number' === typeof i) && obj[<expr>] Where expression is allowed to be something that...
Mike Samuel
mikesamuel
Offline Send Email
Sep 30, 2007
11:55 pm
53
or obj[(<arbitrary expression>) | 0] assuming that 'NaN' is not a sensitive identifier....
Mike Samuel
mikesamuel
Offline Send Email
Sep 30, 2007
11:57 pm
54
... Why is the ADSAFE object not first-class ("var a = ADSAFE;" fails)? That doesn't seem to be necessary for security. -- David Hopwood...
David Hopwood
david.hopwood@...
Send Email
Oct 1, 2007
1:45 am
55
... Better: foo.set(bar, foo.get(bar) + 1); and undo the conflation of objects with arrays and dictionaries, by defining 'get' and 'set' only for the latter. ...
David Hopwood
david.hopwood@...
Send Email
Oct 1, 2007
1:56 am
56
Special thanks to Mike Samuel. I owe you a late of shrimp. I am now disallowing the use of subscripting. In its place, I will be providing ADSAFE.get(object,...
Douglas Crockford
douglascrock...
Offline Send Email
Oct 1, 2007
11:45 am
57
Not all dangerous dereferences are functions: (function() { var javascript = "javascript"; javascript += ":alert(42)"; ADSAFE.get({}, "__parent__").location =...
collin_jackson
Offline Send Email
Oct 1, 2007
4:29 pm
58
... Quite right. I should have mentioned that get and put will also block the same members that ADsafe blocks, including names starting with _....
Douglas Crockford
douglascrock...
Offline Send Email
Oct 1, 2007
4:43 pm
59
This is the definition of ADSAFE.get and ADSAFE.set. var ADSAFE = function () { var exclude = { apply : true, begetObject : true, call...
Douglas Crockford
douglascrock...
Offline Send Email
Oct 3, 2007
12:40 pm
60
/*@cc_on alert("Conditional compilation considered harmful"); @*/...
collin_jackson
Offline Send Email
Oct 3, 2007
7:01 pm
61
I dislike blacklists. See comments on hasOwnProperty below. ... Perhaps exclude.hasOwnProperty(name)? Right now you'll exclude valueOf, though whether that's...
Mike Samuel
mikesamuel
Offline Send Email
Oct 3, 2007
7:09 pm
62
... Good one. I owe you a plate of shrimp....
Douglas Crockford
douglascrock...
Offline Send Email
Oct 3, 2007
7:50 pm
63
... hasOwnProperty would ... I like the idea of restricting access to the prototype chain. ... I want to control what functions they get access to. Functions...
Douglas Crockford
douglascrock...
Offline Send Email
Oct 3, 2007
8:07 pm
64
I am concerned about browser differences in the handling of null bytes (and other special characters). Example:...
collin_jackson
Offline Send Email
Oct 3, 2007
10:45 pm
65
This seems to get through the filter: (function() { var str = "</script><script>alert('script tags affect parsing')/*"; })(); /**/ Adam...
Adam Barth
hk9565
Offline Send Email
Oct 4, 2007
12:32 am
66
Douglas Crockford wrote: [...] ... IMHO the rejections should not be silent; they should throw an exception. In any case, I prefer my suggestion to use...
David Hopwood
david.hopwood@...
Send Email
Oct 4, 2007
1:26 am
67
... Good point. I am now scanning for the presence of any control character. ... JSLint runs in a number of configurations, including Rhino and WSH, which read...
Douglas Crockford
douglascrock...
Offline Send Email
Oct 4, 2007
3:29 am
Messages 38 - 67 of 309   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help