Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to authenticate contributing extension
How to authenticate contributing extension [message #604712] Wed, 17 February 2010 14:11 Go to next message
Dave Meurer is currently offline Dave MeurerFriend
Messages: 2
Registered: February 2010
Junior Member
Hello,

I'm trying to find approaches to protecting the contributing extension I've created, so that it can not be spoofed or overridden. In this instance, I am building a licensing contributing architecture where my company needs to be the only one who can contribute extensions to the plug-ins. I'm trying to prevent someone from overriding the licensing mechanism to always return true when a license is requested - but, my company can have different licensing adapters, hence the need to have a contributing architecture.

I've looked around and found articles/forums on digitally signing jars, etc, but I can't find examples or discussions on how to verify that an extension is signed when getting the instance.

Are there better ways to guarantee that the contributing extension is authentic?

Kind regards,
Dave
Re: How to authenticate contributing extension? [message #604729 is a reply to message #604712] Thu, 18 February 2010 12:59 Go to previous message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
Its like "should i have the cake or eat it...".

Either you can have extendability or restrict ability...
you can not have both...

But in your case you need both(but i think it would be better to not use extensions for it)....
The solution can be...
You can have a getter method in your adapter interface
which returns a encrypted key value,which then can be authenticated by your main application...
off coarse your licensing adapter plugin should be obstruficated so that the key can not be retrieved...
--
---------------------
Regards,
Vijay


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Previous Topic:How to authenticate contributing extension?
Next Topic:Can't install exported plugin
Goto Forum:
  


Current Time: Sun Dec 21 11:28:12 GMT 2014

Powered by FUDForum. Page generated in 0.01582 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software