This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 41003 - Cover secutity issues by ARCH
Summary: Cover secutity issues by ARCH
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: ARCH
Depends on:
Blocks:
 
Reported: 2004-03-15 12:42 UTC by _ pkuzel
Modified: 2004-03-19 15:11 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Initial patch (1.73 KB, patch)
2004-03-18 16:20 UTC, _ pkuzel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2004-03-15 12:42:24 UTC
I found that my module needs extra permissions to
run properly.

Generally, I think that each module should
describe what permissions it demands. What
permisions it exposes to callers code using
PrivilegedAction.
Comment 1 Jaroslav Tulach 2004-03-18 08:42:43 UTC
I have to admit I do not know much about security and that is why I'd
like you to take this suggestions further and help me with actual diffs.

I am not sure whether you request changes to the set of arch questions
only:
http://www.netbeans.org/source/browse/nbbuild/antsrc/org/netbeans/nbbuild/Arch-api-questions.xml

Or whether you want to define new API category about security. That
would require change in DTD:
http://www.netbeans.org/source/browse/nbbuild/antsrc/org/netbeans/nbbuild/Arch.dtd

Please modify these files to suit your needs, attach diff and reassign
back to me. Ok?
Comment 2 _ pkuzel 2004-03-18 09:05:56 UTC
I'd not call myself a security expert. However inital propo should not
be big problem. Are you interested in covering it in arch quetionaire?

Any links to original ARCH resources (I could copy ideas from there)?
Comment 3 Jaroslav Tulach 2004-03-18 14:28:08 UTC
ARCH resources? The questions and their DTD that I provided in my
previous reply should likely be the right documents to made change in.
Based on my understanding of your report I can imagine one or two
questions about security: Does your module creates some new type of
permision? Does your module needs some special permisions to run. But
I as I said I am not completely sure I understand your case.

The DTD could be enhanced to allow <api group="security" ... /> APIs
to be described. Then the resulting documentation contained separate
section for security stuff. I however do not know how appropriate this is.
Comment 4 _ pkuzel 2004-03-18 14:33:16 UTC
I mean original Sun internal process. I do not want to reinvent wheel.
Comment 5 _ pkuzel 2004-03-18 16:20:31 UTC
Created attachment 14037 [details]
Initial patch
Comment 6 Jaroslav Tulach 2004-03-19 15:11:01 UTC
Applied thanks.

Arch-api-questions.xml
new revision: 1.27; previous revision: 1.26