Can I set permissions to cgi functions?

Hi, I had some static HTMLs and cgi functions resources mapped in SSPEC_RESOURCETABLE, and made a static rule table for these staitc HTMLs and functions. the rule of HTMLs work well, but there same to no sensorial to the cgis. And I used sspec_setpermissions(sspec_findname(“/html/usr.cgi”, SERVER_HTTP),
NULL, admin_group, admin_group, SERVER_HTTP,
SERVER_AUTH_BASIC, state->mime);
to set permission, it didn’t work too, because the resource comes out from Flash.

So how can I set permissions to these static cgi functions?
Thanks.

[QUOTE=joe.wang;429]Hi, I had some static HTMLs and cgi functions resources mapped in SSPEC_RESOURCETABLE, and made a static rule table for these staitc HTMLs and functions. the rule of HTMLs work well, but there same to no sensorial to the cgis. And I used sspec_setpermissions(sspec_findname(“/html/usr.cgi”, SERVER_HTTP),
NULL, admin_group, admin_group, SERVER_HTTP,
SERVER_AUTH_BASIC, state->mime);
to set permission, it didn’t work too, because the resource comes out from Flash.

So how can I set permissions to these static cgi functions?
Thanks.[/quote]
Did you find or get an answer to this??
I’m also facing it in wanting to allow remote users to use the BrowseLED test web.
Thanks,

UPDATE
My brother 1000 miles away was able to toggle the LEDs; so maybe it wasn’t permissions?