Protect sources

Hi All !
I have a jar that contains my very important algorithm.
This jar will be provided to customers. I want to protect it from reverse engineering.
Are there any ways to implement this ? I already know about the obfuscation and now loking for other ideas.
Thank for any idea, links, articles in accordance with subject.

Hi,
Please try Proguard
http://proguard.sourceforge.net/
Obfuscate all the classes and then save them as jar file. You can then give that jar file.
Best Regards
Sharif

Similar Messages

  • How to protect source of your precious scripts

    Hi all,
    This short topic is dedicated to all script writters, who wants to keep their scripts out of reach for third persons.
    The main framework we'll be talking about is the simple directive called #targetengine.
    As we all know, even some of the simplest scripts we made can be really powerfull and lucrative. This is the main reason why we may want to keep them out of range for other people and our employers.
    This is the moment where #targetengine directive comes handy.
    OK, lets get started.
    #targetengine is getting two (as far as I know) basic parameters.
    - main (which destroys all the variables/function definitions after scripts is executed)
    - session (which keeps all the stuff while application is still running).
    You can also make your own global spaces and call them whatever you want to, but we'll be working on just two of these. 
    In first place, try to copy and paste this simple script to your extended toolscript and try to run it.
    #target illustrator
    #targetengine "main"
    alert(msg);
    alert(var1);
    safeFunction();
    It does not work! You will get a message that both of these variables are not defined and safeFunction is not a function, and thats good.
    Now, try to run this script and then run the other one.
    #target illustrator
    #targetengine "session"
    var msg = "this is a message";
    var var1 = 4345;
    function safeFunction()
              showMsg();
    function showMsg()
              alert(msg +"\n"+ var1);
    As you have probably already noticed, the 2nd script works like a charm now.
    No matter how experienced coders you are, I suggest you to always keep your property safe, and this is the best way of making your scripts safe.
    Have a nice day,
    Igor
    PS. excuse me my english.

    BeOpenMinded wrote:
    PS. excuse me my english.
    Your English seems perfectly fine, no worries there, thanks for sharing.
    BeOpenMinded wrote:
    - How to protect source of your precious scripts
    - keep … scripts out of reach for third persons
    - keep your property safe, and this is the best way of making your scripts safe
    I am just curious however how does this approach keep scripts safe, out of reach and protected from third parties, in what capacity?

  • Inconsisten with the protected source The system cannot find the path specified (0x80070003)

    Hi,
    we are getting an error with the DPM server, the disk is on the same server, other disk have no issues
    The replica of Volume H:\ on backup.domain.eu is inconsistent with the protected data source. All protection activities for data source will fail until the replica is synchronized with consistency check. You can recover data from existing recovery points, but
    new recovery points cannot be created until the replica is consistent. 
    DPM encountered an error while performing an operation for \\?\Volume{5d0ecad1-5d88-47eb-8a5c-13dddaf0d41e}\app\invoice\ on backup.domain.eu (ID 2033 Details: The system cannot find the path specified (0x80070003))
    we did a consistency check twice and a disk scan, even deleted the backup and recreated it

    Hi,
    From the following article, you can first try a consistent checking:
    Replica inconsistent
    https://technet.microsoft.com/en-us/library/bb809059.aspx
    To perform a consistency check
    In DPM Administrator Console, click Protection on the navigation bar.
    In the Display pane, select the protection group member for which you want to perform a consistency check.
    In the Actions pane, click Perform consistency check.
    In the dialog that notifies you that a consistency check is a lengthy operation, click OK.
    If it failed, please try to manually synchronize a replica as referred in this article:
    How to Synchronize a Replica
    https://technet.microsoft.com/en-us/library/bb795867.aspx
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Protecting Source Code

    I am developing and application that I am planning on
    "leasing" out to busnesses but to keep my source code safe I will
    only allow the application to be run under a hosting account that I
    control so that the source is not subject to being stolen. Other
    then cfencrypt (which can be decrypted) is there a way for me to
    distribute my application to companies that want to outright
    purchase it and allow them to install it on a different server yet
    protecting the source code? Can I compile it into .jar files and us
    it that way? And if so how do I do that?
    Thanks,

    You can deploy as a J2EE application, see:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/deploying_4.html#117456
    Also for some tips from the trenches:
    http://www.adobe.com/devnet/coldfusion/articles/ear.html
    One caveat, the people you sell the application to _must_
    have a valid Enterprise copy of CF or it will not deploy.
    hehe, never done the above tho!

  • Display protected source code

    Hi All,
    We are facing the problem of source code protection because our ABAPer deceived us and left the company.
    Now we can not modify /  display any program developed by him. We are logging with his id also giving same message as displayed below.
    The source  is protected. See explanation in long text
    Message no. ED800
    Diagnosis
    The desired source text is protected by SAP because changing it could cause system errors.
    I hope we can view this code in any diffrent way as I forgot password which I used to protect it.
    Please suggest your expoert solutions.
    Regards,
    Ramesh.

    >
    ramesh_basis wrote:
    > Hi Volker,
    >
    > Can you please describe your solution in details as I never heard about HEX-Editor.
    >
    > Please tell me step by step.
    >
    > Regards,
    > Ramesh.
    You'll have to get your basis team involved to see the transport files. Which won't be a problem if the suggestions that it's actually you who've committed the crime are false, will it?

  • Easy way to protect source code from hackers?

    I did a search and couldn't come up with an answer.
    I added a password script for clients on my site, but I would like to be able to (inexpensively!) protect my code from hackers so they can't view passwords and usernames.
    Any one know of a good place to check?
    Thanks,
    Jim

    The other methods are like putting a No Trespassing
    sign on your door, hardly secure.
    I AGREE. That is why I said it was a "fast fix" and I also said, "However if someone disabled javascript, they could still view your source."
    Metaphorically
    speaking if you want a vault with a moat get MySQL if
    you want to keep your kids inside the playroom by
    means of a plastic barrier then go with
    Javascript/.htpasswd methods mentioned by other
    inexperienced users that are only looking for a
    "real fast fix".
    .htpasswd is hardly the equivalent of the javascript method.
    I am not looking for any fix, thanks. And I was just making suggestions, same as you.
    I am not an inexperienced iWeb user. I am inexperienced with MySQL and PHP. Lucky for me, this is the iWeb forum.
    If you do not think your photos are highly classified
    information (or something) then you might want to
    re-evaluate your professional priorities.
    They are probably copyrighted, they are personal, maybe they aren't for the public eye, but they are not exactly confidential. The OP said he wanted to protect the passwords in the source code. I offered two ways to do this.
    I'm sure
    you do care about the security of your photos online
    that's why iWebFAQ is defending your position on the
    security issue since it seems like it is not that big
    of a deal for some novice users that are simply
    looking for kudos.
    There you go, talking in third person again...
    I am not looking for kudos. In fact, I challenge you, Jasper, to find a thread where I am asking for thanks or points or stars or $5 donations or whatever. Go for it. You won't find one.
    Remember if you are Publishing to .mac you can set up
    your own Password Protection in iWeb as Old Toad
    first mentioned. This method is much more secure
    than the Javascript method later mentioned in an
    attempt to join this discussion.
    If you need any more help setting up MySQL feel free
    to contact iWebFAQ.
    And for just a $5 suggested donation, you can find out all about how hackers operate.

  • How to protect source code

    hai,
    can u pls tell how to secure the java source code in the client place.is there any convesion method to secure the source code.

    Pre-judging by the way the OP communicates here, it's probably a safe bet that his code is already cryptic enough - it's probably a mess that would be hard to follow.

  • Protecting content / locking master Keynote file

    Apple, it's been over 7 years now the iWork community has been screaming for a fix to the most glaring problem with Keynote... being able to protect the content or password protecting the file from being modified.
    There are so many ways to address this critical error:
    1. Password protect the master file to disallow changes/editing.
    2. Password protect elements of editing and copying within the master file
    3. Generating a player (like PowerPoint) that allows control but not modification.
    There is currently zero way to protect source content when sharing a 'Keynote' file.
    Saving the file as a movie does not allow for presentation control.
    It's absolutely absurd that after 7 years this has not been addressed.
    My question is;
    Does Apple have any intention of implementing a way to secure master files, content, from theft & modification?
    This one feature would propel 'Keynote' from being a hobbyists toy - to being the de-facto presentation software for business.
    Amazing software, but 100% useless for business until this error is addressed.
    Is it that hard to put password protection on a file?

    For the first issues, what you can do is rename the field in the second table and make it read-only, thus preventing the user from interacting with it. To automatically copy the value form the first field to the second, you can use the following custom Validate script for the first field:
    // Custom Validate script for text field
    getField("text2").value = event.value;
    Alternatively, you can set the second field to be a calculated field, and use the following custon Calculate script:
    // Custom Calculate script for the second text field
    event.value = getField("text1").valueAsString;
    Replace "text1" and "text2" with whatever you named the fields.
    For the second question, if you make the total field read-only, the user won't be able to interact with the field.

  • SQL 2014 Cluster to Cluster protection

    Hi,
    I got 2 physical servers in Cluster with SQL 2014 on source site and same environment of two physical servers on target site. I want target cluster to protect target source. The site are remote from each other. How can I do replication and FO & FB? Can
    always on protect source cluster to target cluster? can it monitor and do FO to remote cluster. Both cluster on the same domain.
    Thanks
    Erez

    Please check Symantec Backup Exec 2014 it works with CSV. 
    remove the CSV from the failover cluster manager and then try to point the tool and see if it is able to see the volumes without CSV.
    http://www.symantec.com/business/support/index?page=content&id=TECH205833
    Hope this helps.
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach 

  • How do you protect the .swf files ?

    Do you protect your flex files from being decompiled?
    Is there any flex techiques for more security? What about HP SWFScan?
    All opinions wellcome....

    There are several different options... each with varying degrees of security, technical complexity, and cost. Entry level protection usually involves some kind of obfuscation which makes your code difficult to read / re-use - but not impossible. If this isn't enough you'll want to look into swf encryption... which raises the bar significantly. The last item worth mentioning is loading a swf from a protected source. You could also improve this last approach by loading your swf from _inside_ another swf. Here are some links to get your started.
    Amayeta SWF Encrypt 6.0
    http://www.amayeta.com/
    irrFuscator ActionScript 3 Obfuscator
    http://www.ambiera.com/irrfuscator/index.html
    Security Through Obscurity: can you hide swf files on your website?
    http://www.quilix.com/node/31
    Cheers,
    Rick Winscot
    www.quilix.com

  • Password Protected folder solution

    Hi.
    I use CrashPlan as a backup service as a copy of my data in a secure protection .
    Can someone recommend Password protecting source files installed in my OS X please .
    I want the ability of continue using CrashPlan .
    Thanks .

    I'm not sure I understand the question when mixed in with CrashPlan.
    To the best of my knowledge, CrashPlan files are encrypted before being sent and stored encrypted.
    As for encrypting your normal files, then look at System Preferences -> Security -> FileVault, which will encrypt your entire disk.  You can Google "FileVault" to find more information.
    There is no single file, single folder encryption with password protection by default on the Mac.  While you can change file and folder permissions to limit access from well behaved users sharing your system, you cannot prevent another admin on your system, nor a malicious person that gains physical access from bypassing those permissions (as the file is not encrypted, and removing the disk from the Mac it can be read somewhere else).
    You can use Applications -> Utilities -> Disk Utility to create an encrypted Disk Image (also known as a .dmg file).  This is basically a file system inside of a container file, and the container file is encrypted.  The file system inside looks just like any other file system, and you can store any kind of files and/or folders you like.  .dmg files are frequently used to transport files, apps, software updates, new operating system version, etc... between Macs.
    You can use an encrypted .dmg to store sensitive information.  When you double-click an encrypted .dmg, it will prompt you for the password before mounting the file system inside the .dmg container file.
    Personally I use FileVault, and I also use CrashPlan to backup my Macbook Pro to a home Mac mini file server (along with all the other computers in the family).

  • Why can't I open some Pdf files with Acrobat Beta?

    I am using Acrobat.com Beta,and I don't have too many problems with converting to Pdf files, but opening some files that are already Pdf is does not work.I am told to download them ,and afterwards Itry to open them without success.Is there an answer out there?

    I'm sorry you're having trouble.Special PDF files such as PDF portfolios or secured PDF files or password protected source files cannot be previewed on Acrobat.com.
    Please note that not being able to preview a file should not interfere with the successful viewing of the file once downloaded.
    Are you able to open and view PDFs on your desktop? What happens if you try to download the file from Acrobat.com in a different browser?

  • Creating new column in existing pdf doc

    I am trying to add a new column with some CFif content into a pdf doc that is already created. the original pdf doc contains a table PropertyDetails_T with columns such as 1st column : 'customer name' 2nd col : 'no. of. vehicles' 3rd column : 'area of farmland'. I have to insert a new column between 1st and 2nd.
    i am using dreamweaver. in design mode i inserted columns to right of 1st column and added the column name "area of property".
    Next i include CFif lines in code mode as given below :
    <cfif getPropertyDetails_T.areaofProperty NOT EQUAL "">
    <td> #NumberFormat (getPropertyDetails_T.areaofProperty,"_______.__")#</td>
    <cfelse>
    <td>0.00</td>
    </cfif>
    but after writing these lines and saving, the table in design mode has been messed up. i see that CFif content of 'no.of vehicles' has been moved to the next column 'area of farmland'. i have the new Cfif content - <cfif getPropertyDetails_T.areaofProperty NOT EQUAL "">
    <td> #NumberFormat (getPropertyDetails_T.areaofProperty,"_______.__")#</td>
    where it should be that is 'area of property' column.
    But i see that value '0.00' has been diplayed below the column 'no.of vehicles' instead of the CFif content that was previously added to it and is now pushed to next column.
    does anyone have pointers as to how i could correctly apply indentation or code it right to align the right column to the right CFif contents.
    thnx,
    sachinpol

    dear john.
    SDK Version 6.5
    I wish add on new column in existing matrix to Batch Transaction Report.
    what i doing?
    I'm sorry.
    Give me a source please.
    email : [email protected] <== source please.
    Message was edited by: kim sung bum

  • Book transfered to Kobo not showing up in library

    I use Kobo reader and recently purchased a EPUB book from another source and installed ADE following installation instructions. When I open up ADE on my computer, it recognizes my Kobo reader as a bookshelf. I used drag and drop to add the book to Kobo, but it doesn't appear on my reader. I've downloaded EPUB from other (non-protected) sources before and it worked fine. If I open my Kobo application on the computer, I do see the book there.
    Anyone have a clue how to fix this? I've lost patience with help files on all applications.
    Thanks in advance.

    Hi,
    In order to fix this you may follow the steps as given below.
    Solution ) Delete following folder from your computer.
    C:\Documents and Settings\sali\My Documents\My Digital Editions\Restore
    HD:\Users\UserName\Digital Editions\Restore (If your are using MAC)
    Now download the same book once again and while downloading the book it will give you three options "Open" , "Save" , "Cancel"
    Click on save and it should save on following location.: C:\Documents and Settings\UserName\My Documents\Downloads
    Now go to the location where you have downloaded book
    Right click on the book and select Open with.
    Now select Adobe Digital Editions
    Now the book should open in Digital Editions.
    I hope this will help you!!!
    Regards
    Rizwan

  • Crystal Reports from PHP using COM

    I have tried copying various snippets of PHP code to render a Crystal Report in PDF which I can then stream to the browser, but I never get past the creation of the CrystalRunTime.Application.  (Earlier examples had CrystalDesignRunTime.Application instead; they did not work either).  Any suggestions what is wrong here?
    $ObjectFactory= new COM("CrystalReports12.ObjectFactory.1") or die ("Error on load");
    echo "<p>ObjectFactory created.<p>About to create CrystalRunTime.Application...";
    try {
         $crapp = $ObjectFactory-> CreateObject("CrystalRunTime.Application");
    } catch (com_exception $e) {
         echo("Error on instance creation:<br>".$e->getMessage().'<p>'.$e->getTraceAsString());
         echo "<p>".$e;
         exit;
    Here is the output:
    ObjectFactory created.
    About to create CrystalRunTime.Application...Error on instance creation:
    Source: Unknown
    Description: Unknown
    #0 C:\xampp\htdocs\tempo\comtest.php(11): com->CreateObject('CrystalRunTime....') #1
    exception 'com_exception' with message 'Source: Unknown
    Description: Unknown' in C:\xampp\htdocs\tempo\comtest.php:11 Stack trace: #0 C:\xampp\htdocs\tempo\comtest.php(11): com->CreateObject('CrystalRunTime....') #1

    $ObjectFactory= New COM("CrystalReports11.ObjectFactory.1");
                   //------ Create a instance of library Application -------
                   try
                        $CRobj = $ObjectFactory->CreateObject("CrystalRunTime.Application.11");
                   catch (com_exception $e)
                        echo("<br>Error on instance creation:<br>".$e->getMessage().'<p>'.$e->getTraceAsString().'</p>');
                        echo "<p><pre>".print_r($e, true)."</pre></p>";
                        exit;
    Source: Unknown
    Description: Unknown
    #0 C:\xampp\htdocs\analytics\generate_cr.php(103): com->CreateObject('CrystalRunTime....') #1 {main}
    com_exception Object
        [message:protected] => Source: Unknown
    Description: Unknown
        [string:Exception:private] =>
        [code:protected] => -2147352567
        [file:protected] => C:\xampp\htdocs\analytics\generate_cr.php
        [line:protected] => 103
        [trace:Exception:private] => Array
                [0] => Array
                        [file] => C:\xampp\htdocs\analytics\generate_cr.php
                        [line] => 103
                        [function] => CreateObject
                        [class] => com
                        [type] => ->
                        [args] => Array
                                [0] => CrystalRunTime.Application.11
        [previous:Exception:private] =>
    Edited by: EddieM on Dec 9, 2009 9:34 PM

Maybe you are looking for

  • ITunes cant make a first purchase without going to "review account"

    everytime I go to order I am asked to review my account which then asks me for my credit card and information all over again, again, and again

  • To create light pdf files

    some customers ask me to create light pdf files...very light...as they asked me for in design catalogue of 100 pages with tables and images (the standard process makes low res pdf files of at least 20 MG)....is there a way to do this?

  • Itunes will not update to a newer version.

    Itunes will not update to a newer version. The error received sates an older version could not be removed.

  • Migration of EBS Linux to AIX

    Hi, i am making a migration of EBS 11.5.10 CU2 of Linux to AIX 6.1, and only i have a question about the documentation. The steps are: 1) Generate and upload the manifest of customer-specific files 2) Create the Target System APPL_TOP 3) Clone the Au

  • Remove app icons

    How do I remove iCloud app icons from the iphone screen in iOS 7 screen?