How to protect sourcecode

How to protect sourcecode,i have seen,there are many programs,which can convert .Class files to .java files,ok,How to protect resourcecode.thanks

Write your code in C++ and compile it using a good optimizing compiler, like icc (Intel C++ Compiler). (Hand-written assembly code is relatively simple to be decoded because it must be small and understandable by its writer, a human being; Microsoft C++ is a good compiler, but generates machine code that is very understandable by a human being - you don't need to be an unemployed Russian guy with a PhD in number theory to break the code - just being a normal guy that has a lot of time to spend is enough. Try reading the very contrived code that icc generates and compares it with the MSVC++ compiler generated code...)
To make the C++ code being harder to be understood if disassembled, use the Standard C++ Library (STL) and use a lot of templatized code, but turn the optimization options to the maximum available.
Java and .NET languages are not very amenable to source code protection. Obfuscating tools are available, but if you understand the subject of the code, you can easily guess the original source code. For instance, you can try to decompile the code of RSA JSafe that comes with the Sun JCE. Even obfuscated by Dash-O it is perfectly possible to understand what algorithms are implemented.

Similar Messages

  • How to protect SAP Application Tables and Reports in R/3

    Hi Gurus,
                 Any one please explain me detail how to protect tables in R/3 with different senarios.
                  How to protect reports in SAP R/3 without assigning SA38 transaction access
                  How to protect Program in SAP R/3 in R/3

    Hello Happyman,
    <b>What do you mean by Protect Table, Program and Report?</b>
    Let me ask you one base Question, On which area are you working? Are you from functional side or Technical side (Developement or Basis guy)?
    This is very clear cut answer that with the restricted autorization you can protect table and programs. Do not provide the change autorization.
    CATCH your BASIS guy and he will do rest of the things. Just explain him what are you want to protect.
    Hope this helps.
    Regards
    Arif Mansuri

  • How to protect the lines in smartforms

    hi gurus
    i want to know how to protect the line in smartforms..
    regards
    baskar

    Check this link.
    http://www.saptechies.com/smartforms-protect-lines-in-main-window/
    if you are using tables, there are two options for protection against line break: – You can protect a line type against page break. – You can protect several table lines against page break for output in the main area.
    Protection against page break for line types – Double-click on your table node and choose the Table tab page. – Switch to the detail view by choosing the Details pushbutton. – Set the Protection against page break checkbox in the table for the relevant line type. Table lines that use this line type are output on one page.
    Protection against page break for several table lines – Expand the main area of your table node in the navigation tree. – Insert a file node for the table lines to be protected in the main area. – If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file. – Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page
    Regards,
    Maha

  • How to protect ABAP programs

    Hi experts
             I want to protect my ABAP programs from other users from changing it.
             How to protect my program by setting password or not allowing only display mode like.
             Please suggest me on this.
    Thanks in advance.
    Regards
    Rajaram

    Hi Raja,
    If in case you want to lock the development done by you in SAP,then while the report is open in the ABAP edtor,click on GoTo and then Attributes at the menu bar and then check the checkbox "Editor Lock".
    Nobody will be able to make any changes to your program unless and until logged by your user ID.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • How to protect PDF in ABAP ?

    Hi All,
                 Please let me know, how to protect PDF document using ABAP coding.
    Regards,
    Santhosh

    Hi,
    that's not possible directly from ABAP.
    Please check
    http://scn.sap.com/people/pavan.vudaga/blog/2012/07/06/email-pdf-attachment-with-password-protection
    Regards,
    Klaus

  • How to protect a pdf-file in a pdf-portfolio against extraction?

    How to protect a pdf-file in a pdf-portfolio against extraction?

    You can't.
    Portfolios are just a single-page document with a bunch of attached files - the act of opening one of those attachments is identical to the act of "extracting" it into a new document, so blocking it would stop the Portfolio from working.

  • How to protect customization in oracle apps files against autoconfig run

    Hi,
    how to protect customization in oracle apps files against autoconfig run.
    For example:
    Take wdbsvr.app file i have added a new dad configuration for APEX but when ever i run autoconfig it replaces all my customizations so could you please let us know how to protect these customizations .
    Thanks.

    Hi,
    Please see (Note: 270519.1 - Customizing an AutoConfig Environment).
    Regards,
    Hussein

  • How to view sourcecode in 6.0?

    It used to be under VIEW, how to view sourcecode in 6.0?

    To help other users find solutions, please return to this Thread and '''Sign-in''' to the
    forum with your Username and Password:
    click on '''"Solved It"''' Next to the reply ABOVE that '''BEST''' solved your Question
    '''DO NOT click "Solved It" next to this reply

  • Hi how to protect form modification a shared scientific document in pdf and word format?

    hi how to protect from modification a shared scientific document in pdf and word format?

    For the PDF document: Use the tool panel on the right side and under the protection section choose the Restrict Editing option.  Set a password so that nobody can modify it.  In word

  • How I protect edition in some pages of my PDF, but accept modify one page in my PDF file?

    How I protect edition in some pages of my PDF, but accept modify one page in my PDF file?
    For example...
    I am author of a e-book. But, I want people distribute that my e-book inserting in first page your website of who is distributing.
    Look at how I want stay it...
    "You have downloaded this eBook by"
    Header 1Header 2
    "You have downloaded this eBook by"
    Name of distributor here.
    (only that page can be changed)
    Page 1
    Content my e-book
    Page 2 (BLOCKED FOR CHANGED)
    Content my e-book
    (BLOCKED FOR CHANGED)
    Page 3
    Content my e-book
    (BLOCKED FOR CHANGED)
    Page 4 
    ... ALL THE REST IS BLOCKED FOR EDIT.
    I want that, How can I get it?
    Please, apologize my bad english, I speak portuguse.

    Remember, most people don't have software for editing PDF files at all. They will not want to buy Acrobat just to edit your ebook.
    Otherwise, I think you need to learn about form fields. This allows you to decide where it is to be typed in. You can allow filling and request editing is not allowed.  You need to understand exactly what software can and can't fill in forms, and what can and can't save the result; it changes with versions of Adobe Reader.
    Remember too that some software ignores your security settings anyway.

  • How to protect java source code?

    Hi everybody
    I love Java but I think that people can decompile my class file to take my source code!Like this program
    http://kpdus.tripod.com/jad.html
    How to protect our source code?Even you use Jar files, they can unzip them and decompile!
    Thanks in advance!

    Use Java Obfuscator. Try one of these
    http://preemptive.com/products/dasho/index.html
    http://www.zelix.com/klassmaster/obfuscator.html
    http://java-source.net/open-source/obfuscators

  • How to protect the class files inside jar file.

    Hi Group,
    pls help me.
    my need is i created a executable jar file with certain classes.
    and i'm supposed to send it to my client.
    but if the client needs he can extract the class files from the jar and with the
    help of some decompilers he can convert class file to .java source code and read the whole
    stuff.
    how can i protect my jar file from these.
    is there any security mechanism for that
    pls help me.
    Regards,
    Ranjith.M

    In order to protect my jar file I tried the jar signer technology but it only protects the jar from modification so I need to know how to protect jar file from decoding of the contents inside.

  • How to protect a text from line break in smartforms

    Hi Gurus,
    How to protect line break in a text element of smartforms. Text in that line is printing exactly 70 characters. I want the text to be printed fully till the size of the window.  How to stop this automatic line break.
    Regards,
    Rithika.

    What I have done may be helpful, so here are the details:
    I had a table of text values, so I converted this to a string with concatenate, then string to a long character field, then used RKD_WORD_WRAP to put into table of 132 characters.  Then I constructed a table of type tline by looping at my RKD_WORD_WRAP output,  and utilized SAVE_TEXT to temporarily store a TEXT entry, like you would save with SO10, saving my desired paragraph format into TDFORMAT field and inserting any necessary character format commands into the text. 
    In my SmartForm, I then have dynamic text processing pointing to the internal table fieldnames containing tdname, tdid, tdobject, tdspras of what I saved.  This allows SmartForms to utilize the full width of the window and optimize text output, based on window width, font, scale, paragraph format, character format, etc.  These text identifier values are passed as part of my internal table via the SmartForms interface.
    At the end of SmartForms processing, I loop at my internal table and utilize DELETE_TEXT to remove the temporary texts that I created for this set of output.
    To avoid page breaks in my text, I put my output for a "block" of data into a folder (see the SmartForms folder feature).  I have page protection on the folder...that way, SmartForms examines the length of the folder content and decides whether a page break should occur before any output for my block of data begins.  My block of data contains a few data elements over 5 rows of output followed by two separate dynamic texts of various lengths.  If the entire block won't fit on the remaining part of a page, page-break occurs first.

  • How-to protect static content

    Hi !
    I have a site with many files (pictures, XML files, etc)
    How can I protect those content from unauthorized access / sniff ?
    I was thinking in two options
    1) a filter servlet, validating sessions permissions etc
    2) a servlet to write out the files (...)
    Any other suggestion? best practice?
    Regards
    Joe

    Actually yes each server has its own realm implementation but it is all configured and handled by the server and does not affect the portability of the application.
    How to protect the static pages is dependant on how you allow access to your web application.
    If you don't have any security in the web app you then put any files that you don't want accessed in the browser in the WEB-INF folder. Images and other files that are accessible in the browser you put in folders with an index page to prevent users from seeing the directory structure.
    If your application uses server managed security you include you use this security to manage access to the files.
    If you are using application based security then you go with a filter.

  • How to protect my Apple Mac from viruses?

    How to protect my Apple Mac from computer viruses, malware & phishing?

    Unless you are running a Windows partition, you do not need to be concerned about viruses. As for malware and phishing, good internet browsing habits, and using common sense when downloading software that is not from the App Store will go a long way to preventing those types of issues.
    There is a lot of disagreement among the Community members concerning the prudence of installing any sort of AVP. As white_bellied shows above, it can slow down your machine.
    I do not have any sort of AVP running on my Mac, and I have never had any issues with malware or phishing.
    There are many discussion about AVP on the forum. If you do a search for Anti-virus, you will be able to see some of the opinions and discussions that may help you to make the best decision for you.
    Cheers,
    GB

Maybe you are looking for

  • How can I add the text from a Word document to an existing PDF that is my letterhead?

    I have a business letterhead created to a PDF file.  I'd like to add text from letters to this letterhead but do not know how.  Please help.

  • How to use iweb rss feed in an iphone web app?

    So this is my dilemma.  I wanted my iweb turned into a web app using the rss feed. This is simply done cause of the "Add To Homescreen" feature.  While the RSS feed works beautifully on safari... it does not read as a webapp. This surprised me cause

  • Migrating Logic and all plug ins from old mac to new mac

    Hi, I understand Migration Assistant will bring over all my old files from my Macbook Pro to my new Mac Pro.  My question is, I have Logic Pro 7 and authorization key (USB), my new Mac Pro has Logic Pro 9, can I use all my old music files by just usi

  • Material Documents(Other than GR/GI)

    All, I am looking to get all material documents that got posted other than Goods Receipt and Goods issues. Can any one suggest me by seeing material doucment number header details(May be document type), Can we say document is not for Goods Receipt/Go

  • New imovie overrides others

    I created an imovie with audio from a slide show. I saved it and it is there as a file in my movie file with name.rcproject and the thumbnail of the first image. I created a second imovie, again from a slide show with audio and saved this in the same