[EMAIL PROTECTED] wrote:

Mensaje citado por Darin Fisher <[EMAIL PROTECTED]>:



[EMAIL PROTECTED] wrote:



Hi:

My name is Fran and i am a new user of this mail-list.

I have a recent interest about XPCOM due to the fact that i want to use it


as a

tool to embeded components in my thesis work.

I have a question: In XPCOM, can i control which component is going to be linked with which component? such a Access Control List (ACL)



(sorry for my english, i hope you can undertand me)

Grettings: Fran.


--------------------------------------------------------------------------- Correo enviado usando el servicio de Webmail del SIAIN: http://siain.udc.es

_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom




Fran,

XPCOM does not have any support for ACLs.

Darin




Yes, i know, but would it be implanted?


I don't know completly XPCOM yet, but i supouse it support load a component (from main application) and don't execute it. If i can separate both task (load & execute) the i can test it against a ACL done by my self.






XPCOM doesn't have any mechanism for deciding not to execute a component that was just loaded. You could probably add code in xpcom/components to add an interception hook such that you could implement this feature. I'm not entirely sure what is involved, but I would recommend looking at nsComponentManager to study how components are loaded.


Darin

_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to