To EXE Not To EXE: that's NOT the question

Hi folks.
My problem is very simply: I don`t want my application to be an open source code. My solution to a problem
doesn`t have to be open to everyone. So how can i "encrypt" my bytecodes without having to write a class loader. Can anybody help me?
Many thanks in advance.
Marla.-

Hmm,
Well sounds like your going to be writing a GUI client that connects to an application server or a database
server.
The first question is will there be any possibility of your application running without a connection to the
server?
If the answer is yes, then of course you will need a GUI app. If the answer is no, then you can consider
having all code on the server with a thin client.
If your going the thin client direction, then you will either choose a Web Browser and JSP (or some such) or
a Java GUI thin client that connects to the server for data and screen info (eg. xml parsed from server to
client that tells the client what the menus are, what the browses are, what the fields in the browse is, etc).
If you go the thin client, then extensive use of reflection would be best. This would make it hard to
obuscate. Of course if you stream the code via sockets to the client then you could use obuscation, but
the code passed from the server could not be obuscated. Then you would only have the issue of the
server code.
If your writing a fat gui client then you can avoid reflection. Of course reflection makes writing an advanced
gui app so much easier, but you don't realy need it. In that case then you could obuscate.
The bottom line is that you do need some form of registration and license management, even if you do
obuscate. The reason being that people can still copy your programs, they will just find it hard to delve
into your code. A determined person will be able to get past obuscated code though.
Traditional forms of license management is via a server that registers connections. You know how many
concurrent seats the client is licensed for and you only allow that many concurrent connections. Use of
the system registry with some hash keys or encrypted (or obscure) encoding of such data is the best
direction. Normaly a hash key that contains the license and number of seats is entered when you
install. This is stored on the server and used for license management. Personaly I have never had to
worry about it, but I understand the concepts and it's a good method to prevent casual copying and
license breaches. A determined person is almost impossible to stop though.
James.

Similar Messages

  • I am trying to download music. I had to reset my computer to manufacture settings. Itunes is telling me that where it is a new computer i need to comfirm with security questions. the questions that are showing are not the questions i chose

    i had to reset my computer to factory settings and had to redownload itunes. i am not attempting to purchase songs and its asking me for security questions. however, the questions that they are asking i never chose. how can i change them?

    Hi Gorgeousgal13,
    Thanks for visiting Apple Support Communities.
    You can use these steps to reset your Apple ID security questions:
    Navigate to My Apple ID using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    From:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    All the best,
    Jeremy

  • Trying to buy music but the question that is provided is not the question that I provided

    i have a mac pro iso and i am trying to buy music but i can not because the question they are asking i did not provide i need to get into my security so that i can right them down so i can buy music

    Sheila,
    That is impossible for us to answer, since you did not say where you are trying to buy music.
    If one online music download store is not working for you, try a different one.  Here are some suggestions:
    iTunes Store
    Amazon Digital Music
    Google Play Music

  • HT2534 Please help. I keep getting asked security questions to verify my apple ID. These are NOT the questions that I chose when I started my Apple ID!

    Why do I keep getting asked security questions that I did NOT choose to verify my apple ID?  I cannot answer them and I cannot purchase from ITunes. In addition, I keep getting a message that I have to answer them because it is my first time purchasing from my computer and my son's IPOD touch. This is not the case.This is crazy because I have been purchasing from Itunes for a long time with the same apple ID on these devices! What is going on?

    It may not be particularly helpful to you but I would not be surprised if the message number 2 refers to the verification you did that attracted message number 1.
    Just a thought.

  • 2nd Generation and iOS 4.3 (Not the question you are expecting.)

    Now before you get mad at me, I know 4.3 will never come out for 2nd gen iPod touches or any lower generation of iPod. I have a bit of a different question.
    I reset my Ipod because it was being kind of screwy lately, but when it went to get all of my apps back, a few of them would not go back onto my ipod. I went to manually download them when all of a sudden "iOS 4.3 or higher required".
    I JUST had these downloaded! What the heck is going on, and how can I get my apps back?

    I realize that it is the constant upgraded technology that makes the previous obsolete. Even though the app developers may be to blame, I still blame Apple as a whole. I bought my iPod when it was new and now that they have something better, I feel they are doing a poor job at keeping customers with technology only made a couple years ago happy. Those who snicker at this now will understand in a year or so when the iPod Touch 6th generation comes out.
    This can all be solved easily if they would just release something that would sort updates in the 'App Store' based on the generation of the iPod Touch being used by the user. (Hint, hint, Apple)
    Since that's way to easy to solve, it probably won't happen. So this then begs the question:
    (This is also the TL;DR part) Is there still no workaround? If not, is there some way I can trade in my old iPod Touch for a discount or something on a newer one? Because they have by no means lost a user. They have just made a user very unhappy at the moment.

  • Is there anybody out there that can answer the question about the backup on the external hard drive?

    I need some help please. I have been using an external hard drive to keep my itunes on because the file was so big. I understand that Itunes backs up all of the text, photos, contacts, ect.. everytime you sync your phone. Is this where itunes is storing all this information and if so how do I find it?

    Hi,
    I agree that the back up file is big and the file you saved was your iTunes Library (%USERPROFILE%\Music\iTunes) but, your iTunes saves your backup data in a different location.
    if you are on Windows XP: %USERPROFILE%\Application Data\Roaming\Apple Computer\MobileSync\Backup
    if you are on Windows Vista/7: %USERPROFILE%\AppData\Roaming\Apple Computer\MobileSync\Backup
    so i suggest you also back up those folder(s) in your computer to your external hard drive.(I recommend that you backup the iTunes & MobileSync folder found in AppData as you may need if in the future.)
    as for the iTunes Folder found in Music/My Music folder, that is your iTunes library and you should also backup that folder so that in the future, if anything happens to your computer, you will be able to still sync you iDevice on another computer with the same library.
    Note: In the Backup Folder, there will be a folder with a very long name. If you have several iDevices backed up, you will find it useful to know that each iDevice has a Identifier (UDID) and that the long name of the folder is your iDevice Indentifier (UDID) and the "-" next to the UDID is the Date followed by the time.
    eg.2b6f0cc904d137be2e1730235f5664094b831186-20101016-222905
    Meaning UDID was 2b6f0cc904d137be2e1730235f5664094b831186
    the Date was 16/10/2010 (20101016)
    and the Time was 22 Hours 29 Minutes 5 seconds (222905)
    to Find your iDevice UDID, refer to this page: http://support.apple.com/kb/HT4061
    Hope this helps.
    Cheers,
    Blueloony

  • What is the current size of download package for Firefox? I have a dial-up connection and clicking the "latest version" link look s like it gets an exe that only manages the installation, so there's got to be more.

    The download starts with Firefox Setup 6.0.2.exe, but I always have trouble with "setup" programs that appear to be manageable size (this one estimates 45 minutes to download), but once run, starts a ten-hour download.
    This should be easily available information on the website... what is the total download size if the current Firefox installation package?

    That's the size of Firefox Setup 6.0.2.exe, which I started to download but figured there had to be more.
    So, you're saying that once that downloads and you run it, there's nothing else to get online? I could run Firefox Setup 6.0.2.exe successfully while not connected to the Internet?

  • How can I disable the plugin-container.exe that, runs in the background?

    Every time I click on a url, the browser freezes up momentarily and then loads the page and this is constant and I have the feeling is because of plugin-container.exe running in the background. Please advice. Thanks!!
    [email protected]

    That process is from firefox, firefox now loads the plugins in another proccess.
    Try to start firefox in safe mode to check if that process runs again.

  • How do I get the Questions in the Survey to show up in the Report? Only the answers are showing up, not the Questions....

    I only know how to input them manually, and I am sure there must be another way?
    Kind regards,
    Renata

    Hi Ellen,
    Is your Router brodcasting it's SSID?
    If not, try this, click on the Airport icon, choose Other, fill in the info.

  • How to change the Video Background Color - The Answer...Not the Question.

    Hello All,
    I was struggling with the Video Background Color as I was setting up my DVD. I'm new to DVD Studio Pro. I couldn't get the color to change from grey to the desired black. I was moments from asking for help, but thought to try just a bit harder. The answer lies under Preferences, Menu, Video Background Color. Just thought I'd share for future search strings by others.
    Ahh, onward!
    DG

    The id is applied by (I think) the skin class of the ChoiceBox. You don't need to define it.
    You have to apply the css in an external style sheet. You can apply the external style sheet to any parent of your choice box, or to the scene (the most usual way to do it).
    Example:
    import java.util.ArrayList;
    import java.util.List;
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class ChoiceBoxTest extends Application {
      @Override
      public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("Example 2");
        final ChoiceBox<String> choiceBox = new ChoiceBox<>();
        List<String> tempResult = new ArrayList<String>();
        for (int i = 0; i < 10; i++) {
          tempResult.add("Item " + i);
        choiceBox.getItems().setAll(tempResult);
        VBox root = new VBox();
        root.getChildren().add(choiceBox);
        final Scene scene = new Scene(root, 300, 250);
        scene.getStylesheets().add("choiceBox.css");
        primaryStage.setScene(scene);
        primaryStage.show();   
      public static void main(String[] args) {
        launch(args);
    choiceBox.css:
    @CHARSET "UTF-8";
    #choice-box-menu-item:focused  {
    -fx-background-color: yellow ;
    #choice-box-menu-item .label {
    -fx-text-fill: black ;
    Message was edited by: James_D

  • HT1688 when trying to download apps on my daughters new iphone it is asking for answers to my security questions.  this account was set up a few years back, and the questions its giving me, i do not think they are the questions that i picked. need help

    my daughter is trying to download apps on her iphone and it keeps asking for answers to my security questions. the problem is, the questions its asking are not the questions i picked....i do not know the answers. how can i get around this?

    I was told that if you reset the password then u can get in and reset the security questions, but I am having problems with it. Apple also has a page on it in there support area, u just have to type it into the search engine and it gives u a list a messages about security questions and support pages.

  • For some reason I am unable to load the updates from the App Store for ever notes. When I try to, I am told I am already on a new version, which in fact is not the case. Anyone else with exposure to this? I have also written to Evernote and App Store

    Similar configuration and circumstances incuding unexplaining lag time in keyboard and mouse both just s
    s
    Check your purchase history and see what shows?  Check to see if your Apple ID has had any pw changes recently and if it is still registered as before.  I found some unsual anomolies is this area where and Apple ID fail off the radar screen apparently and then reappeared and that was for I Tunes.  I am having the same problem with App Store as I did a recent wipe of my Mac OSX hard drive and I Pad 2.  Initially it appeared  a gap in records, so where are the other apps i know i purchased, then with I Tunes, restrictions around ability to download music on my Mac, which I had been doing all year, and transfer to I Pad 2 or I Phone, which i had been doing all year long as wll.  The I Tunes matter has gotten better, but I've engaged Express Support, Contacted Store, and others, have not received a definte explanation yet
    From an App Store perspective, I noticed at least 50% discrepancy verus what I have bought and what they had showing. Again, some i think will be linked to the disappearing and reappearing Apple ID  which i can only assume is a sporadic database issue, but quite stratling and problematic if you need your apps restored quicly.
    I have a similar configuration, plus had Lion Server, have not reinstalled server yet, awaiting stabiliztion of OSX, but i think that may have some relevance to the location of a variety of the elusive content, but only a hunch at this point.
    There are a number of virus elements which have not been picked up consistently. Some operating as bots within a platform where they actually take charge of certain activites and it becomes a struggle to rid them. I am using  Kaspersaky Universal One which has helped some we had over 17 threats in 1 hour yesterday, but they diffused them.  I've got so many odd issues happening now like downloads directed to the wrong folders for major loads to typing locking up  on both blue tooth and usb but i notice a quick switch makes a difference.  Hint Hint, so i feel like I am in the Bermuda Triangle right now with so many strange things happeining including the post below about Evernote, same here.  Pay close attention to Virus, Malware, and check your log files for unusual activities and and also watch your key chains closley for any attacks. Some of the problems i have encountered actually involve activities taking place within sttps: sessions, so I think a number of things are going on that require an intense focus from the user, Apple Tech and Security and outside resources, because it is becoming more widespread and even though I believe some can be explained relative to user error and lack of familierity, some cannot as the timing and acceleration is to coincendental in my humble opionion.  Hope these areas to look for offer some resolution for you as well as some insight into other areas that could be problematic if not closley monitored.

    I think not the question, but "What is your issue"?  Afraid to learn the truth of today's reality of Cyber threats and to give other community users the the benefits of such or too just mimize my response as a "wandering rant" ?
    I'm actually going to take the high road on this one "for the most part" in contrast to the response you provided to me which reflects your seemingly low road mentallity and lack of appreciation for a new member simply trying to add some value based on recent and current real world experience:
    1) I am a new community member and inadvertently may have submitted a response to a problem i saw versus submitting a question; however, i quickly noted that point.
    2) I selected Mac OSX 10.7.3 Lion, Lion Server and other products ( that's right, i do own Apple products) for their resiliency to virus, malware, and for their peformance, design and reputation. I still believe I made the right decison.
    However, I take exception to your inherent criticism and vailed insults on behalf of myself and the large number of excellent Apple Support representatives, many Sr. Advisors, and External Virus/Malware experts engaged, at the suggestion of Apple and others to help resolve my system issues.
    Downloading of Apps from AppStore, I Tunes, and Evernotes were in one way or another impacted by these virus, malware and hacker activites.  To the credit of Apple, i have not found a single fradulent transaction, however the trouble makers had broader objectives which have caused problems and easily could many others both consumer and enterprise class. Given ongoing criminal investigation, l'll keep those particlualrs confined
    If you actually took time to read my "rant" versus simply belittiling and criticizing my sincere efforts to help somone else you would see there are some meaningful points to take into consideration. You want the post removed, feel free, it only shows to further reflect your naivety and lack of consideration for others unless it suits your myopic and narrow minded perspective to the real cyber threats we all "can" face. Even selecting Mac arguably one of the very best platforms, still does not afford you the flexibiity to assume you or your company, as in my case, is immune.
    If i told you the specifics, of course, it would clearly be beyond your comprehension as your mind is obviously too closed to even consider the thought let alone understand the intricacies of their tools and tactics. Write to the Wall Street, NY Times, you suggest; please, you simply bury your self further in the sand by haphazardly suggesting such a foolish idea. Just another petty attempt to diminish the threat and again show your lack of respect for a quality company and organizaton as Apple who is aggressively working to address my concerns and plan for the next product release without giving up IP and wasting time answering to the media when there is real work to be done industry wide.
    In contrast, I will let Apple to what Apple does best...get it or still not ??  See, they have seen for a long time what you clearly don't, and that is that no system is ever perfect. That is why Mountain Lion will have a NextGen Firewall & associated tools a.k.a Cyber Castle, which has been under  development for sometime and reviewed by industry experts before release so as usual Apple will do their very best to get it right and will again be advanced in many ways ahead of the pack.
    So, i've wasted too much important time trying to open your eyes to reallity. When you wake up in the morning, remove your head from the sand and wipe the grains from your eyes, have a read of this....oh, and don't bother responding or apologizing.  As you said, it's not worth your time to hear from me; in contrast, I felt it was worth my time to keep you from misleading others by your lack of respect for the real Cyber threats we face and that any system designed can be penetrated if the bad guys want in bad enough.  Time to get real Sand-man.....

  • 2008 R2 - Memory Leak from svchost.exe - Module "rpcrt4" is the culprit

    Hi All
    Over the past week or so (after a set of Windows updates and restart) svchost.exe has increasingly used more and more memory. It probably gobbles up an extra 1GB per day and doesn't relent. 
    After running various diagnostics, the debug diagnostic tool finally provided me this information after a memory leak test:
    rpcrt4.dll is responsible for 1.76 GBytes worth of outstanding allocations. The following are the top 2 memory consuming functions:
    rpcrt4!AllocWrapper+2b: 1.76 GBytes worth of outstanding allocations.
    rpcrt4!Ndr64ClientInitialize+964: 1.36 MBytes worth of outstanding allocations.
    Detailed module report(Memory)
    Module details for rpcrt4
    Module Name   rpcrt4 
    Allocation Count   946941 allocation(s) 
    Allocation Size   1.76 GBytes 
    Module Information 
    Image Name: C:\Windows\System32\rpcrt4.dll   Symbol Type:  PDB 
    Base address: 0x00000003`00905a4d   Time Stamp:  Sat Nov 20 13:13:18 2010  
    Checksum: 0x00000000`00000000   Comments:   
    COM DLL: True   Company Name:  Microsoft Corporation 
    ISAPIExtension: False   File Description:  Remote Procedure Call Runtime 
    ISAPIFilter: False   File Version:  6.1.7601.17514 (win7sp1_rtm.101119-1850) 
    Managed DLL: False   Internal Name:  rpcrt4.dll 
    VB DLL: False   Legal Copyright:  © Microsoft Corporation. All rights reserved. 
    Loaded Image Name:  rpcrt4.dll   Legal Trademarks:   
    Mapped Image Name:     Original filename:  rpcrt4.dll 
    Module name:  rpcrt4   Private Build:   
    Single Threaded:  False   Product Name:  Microsoft® Windows® Operating System 
    Module Size:  1.18 MBytes   Product Version:  6.1.7601.17514 
    Symbol File Name:  c:\symcache\rpcrt4.pdb\7D748DA6D7454C9EA38C8CEF1C9E75F22\rpcrt4.pdb   Special Build:  & 
    rpcrt4!AllocWrapper+2b  has 944,468 allocations! 
    I'm running 2008 R2 64bit with anywhere up to 80/100 simultaneous RDP connections at any one time.
    Can anyone help or advise as I cannot find any hotfixes for this issue.
    Thanks
    Ryan

    Hi Ryan,
    Please narrow it down to the specific service that is having the issue.  That way you will know where to focus on.
    For the specific svchost.exe that is showing the large memory usage, use task manager/process explorer/etc. to determine which service(s) are running within it.  If there are multiple services running within it, I recommend you isolate them and then
    restart your server.  For example, say you determined that the following services are running in the "problem" svchost.exe: AudioEndpointBuilder, Netman, TrkWks, UmRdpService, Uxsms.  You would open an admin command prompt and enter the following
    commands:
    sc config AudioEndpointBuilder type= own
    sc config Netman type= own
    sc config TrkWks type= own
    sc config UmRdpService type= own
    sc config Uxsms type= own
    After entering the above commands you would restart your server for the changes to take effect.  Over time you would monitor memory usage of the suspect services, and eventually it will become apparent which one is using too much memory.
    Thanks.
    -TP

  • Delete only the child object and not the parent object

    Hi,
    I have the below code:-
    TAnswer
    @ManyToOne(fetch = FetchType.LAZY)
         @JoinColumn(name = "question_id", nullable = false)
    //     @Cascade(value=CascadeType.ALL)
         public TQuestion getTQuestion() {
              return this.TQuestion;
         }     TQuestion
    @OneToMany(fetch = FetchType.LAZY, mappedBy = "TQuestion", orphanRemoval = true)
         @Cascade(value=CascadeType.ALL)
         /*@Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE,
                org.hibernate.annotations.CascadeType.DELETE,
                org.hibernate.annotations.CascadeType.MERGE,
                org.hibernate.annotations.CascadeType.PERSIST,
                org.hibernate.annotations.CascadeType.DELETE_ORPHAN})*/
         public List<TAnswer> getTAnswers() {
              return this.TAnswers;
                   In Java:-
         public void removeAnswers(TQuestion question)
                        throws ApplicationException {
                   List<TAnswer> answerList =  question.getTAnswers();
                   deleteall(answerList);
         public void deleteall(Collection objects) {
                   try {
                        getHibernateTemplate().deleteAll(objects);
                        getHibernateTemplate().flush();
                   } catch (Exception e) {
                        throw new ServerSystemException(ErrorConstants.DATA_LAYER_ERR, e);
         }               Here the "deleteall" will delete both the answer records and question records, I don't want the questions
         records to be deleted. I have tried making the question as null when we set the answer object to be passed for delete
         bit still it is     deleting the question records as well.How to achieve the above in deleting only the answer (child) records
         and not the question(parent) record? Is there any thing we need to do with @Cascade for Question object? Please clarify.
    Thanks.

    What does deleteAll do, it doesn't look like a JPA method. You might want to ask your question on your provider forum, or use straight JPA methods as a simple EntityManager.remove(answer) on each answer in the collection should work.
    Regards,
    Chris

  • I can not publish my software I get "_An error occurred while signing: Failed to sign bin\Debug\app.publish\\setup.exe. SignTool Error: No certificates were found that met all the given criteria."

    Error 2
    An error occurred while signing: Failed to sign bin\Debug\app.publish\\setup.exe. SignTool Error: No certificates were found that met all the given criteria.
    Yesterday I could publish, today no code changes, but I get the above error.
    Help

    Hi El-sid,
    So glad that you have solved your issue, and thanks for your sharing.
    Have a nice day.
    Best Regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for