Where to place the license file for applets

User 8139ea8dbd

04-04-2008 23:12:43

If I have a web page with a Marvin applet, where do I put the license file on the web server (or elsewhere) and how do I tell the applet where the license file locates?





Thanks.

ChemAxon 909aee4527

07-04-2008 13:55:10

Hello,





we indend to solve this in the near future using a Java system property.





Until that it remains the same as before:
Quote:
In case of a web application (e.g. JSP pages) the license file should be placed on the server side, the user home is the home directory of the user that runs (owns) the web server.


However, the license file should be placed on the client side in case of Marvin applets or web applications having embedded Marvin applets to access the plugin calculations.
Can I ask you what would be the best solution for you?





Kind regards,


Judit

User 8139ea8dbd

08-04-2008 16:34:09

I don't have a good suggestion, I guess you don't want the end user to be able to read the license file over http, right? Otherwise, it should be pretty straightforward. Maybe think about encripting the license file for the web server and only applet is capable of decoding that?





We don't have calculation plug-in licenses, so it's okay for us. I guess this is more a problem for those who purchase calculation license but cannot enable their users to use in the applet.

ChemAxon 909aee4527

28-05-2009 12:23:14


Dear Yingyao,


finally we decided to introduce applet parameters (without encoding).


Marvin 5.2.2 is just released with the possibility to set the license file for applets.


There are 2 parameters available: "license" and "licenseFile"
Details: http://www.chemaxon.com/marvin/help/developer/sketchman.html#parameters.license


Kind regards,
Judit


User 8139ea8dbd

28-05-2009 16:40:15

Just tested it, works well. Thanks.