How to prevent  viewing the Javascript code by others?

Is there any way to prevent the script written to be viewed by others?
Is there any secure way to deploy the script?
Or do we have any autentication like setting a password or some thing like that in order to view the code?
Waiting for reply
Riaz

Have a look on the archive, the question was yet discussed. As there is no universal ideal solution, you have to define your own level of compromise.
A idea that was given and that I found smart althought poor security level was to make a password protected rar file. Then you can exchange money against password. Unfortunately once the code was given, your script was no longer protected from being sprayed.
But consider the utility of sharing, with all the scripts supplied freely every where, we can improve our own script and get better.
Customers that order you a script must of course pay you.
Up to you.
Loic

Similar Messages

  • How can we prevent viewing the source code  of JSP by the user

    Dear sirs,
    how can we prevent viewing the source code by the user ( from the browser for the Viwe Sorce option) for a JSP file that use struts frame work.
    infact i don't wan the user to view the javascript that in incorporated in the JSP for various purpose...
    thanks and regards...
    Sudheesh K S
    INDIA

    Dear sirs,
    how can we prevent viewing the source code by the
    user ( from the browser for the Viwe Sorce option)
    for a JSP file that use struts frame work.
    infact i don't wan the user to view the javascript
    that in incorporated in the JSP for various
    purpose...
    thanks and regards...
    Sudheesh K S
    INDIAJSP and Servlets are programs/scripts that run on the server. The user/clients only sees the HTML output generated by the server. If you want to hide JavaScript from casual users then you can put the JavaScript code in a seperate file. This file can however be read from the Cache.

  • How can I view the source code of chrome://browser/content/browser.xul?

    How can I view the source code of chrome://browser/content/browser.xul of mobile FireFox?
    In my desktop version I just open this page in new tab and view webpage source, but there is no option for FF mobile to view source code.
    Best regards.

    Does the view-source: protocol work on mobile?
    *view-source:chrome://browser/content/browser.xul

  • I have to make inaccessible the Javascript code embedded in a form pdf. How can I do?

    I have to make inaccessible the Javascript code embedded in a form pdf. How can I do?

    You can secure the file and prevent access to the code, but it's very easy
    to overcome that. Alternatively you can use a code obfuscator to make the
    code less legible.
    On Feb 11, 2015 3:51 PM, "marcogolinelli88" <[email protected]>

  • How to view the source code for Native Method

    hi
    i am using some native methods in to my code ;
    can anybody tell me how to view the source code for the same ;
    nik

    Buy/acquire a C/C++/assembly code disassembler and run the shared library through it.

  • How to view the source code of JavaFx component ?

    Hi everybody,
    I just want to know if it's possible to view the source code of the component Button (from JavaFx) and how to do it ?
    In fact, I don't really understand if JavaFx is entirely open source ?
    Thanks.

    I lack time right now to experiment, but I think you can get your goal just with CSS.
    Here are the variables I found for Button:
    Button
    borderFill: class javafx.scene.paint.Paint = (null)
    button: class javafx.scene.control.Button = Button
    colorBrightness: Float = 0.8156863
    cornerRadius: Float = 7.0
    fill: class javafx.scene.paint.Paint = (null)
    focusFill: class javafx.scene.paint.Paint = javafx.scene.paint.Color[red=0,green=147,blue=255,opacity=1.0]
    focusSize: Float = 1.4
    highlightFill: class javafx.scene.paint.Paint = (null)
    label: class javafx.scene.control.Label = LabeledImpl [id=-Label]
    paddingBottom: Float = 4.0
    paddingLeft: Float = 10.0
    paddingRight: Float = 10.0
    paddingTop: Float = 4.0
    shadowFill: class javafx.scene.paint.Paint = (null)
    textFill: class javafx.scene.paint.Paint = (null)
    textFont: class javafx.scene.text.Font = Font[name=Verdana, family=Verdana, style=, size=11.0]Try changing cornerRadius and focusFill/highlightFill, etc. Note that some discovered properties are not affected by CSS... Perhaps that's why there isn't an official doc about CSS styling currently.

  • How to view the java code of the message mapping,

    Hi Experts,
    <b>how to view the java code of the message mapping,</b>
    how to get the background java code of the message mapping(graphical mapping).
    And where to view it?

    Hi sowmya,
    Open any  Message mapping in IR. Press <b>CtrlShift0(zero)</b> to open a new menu.
    There you will find an option "Is Java Source Code Available?"
    There will be an export button nearby. Use it to get the code.
    Open it in a zip , you will see the hide java code.
    The JAVA code for graphical msg mapping is in below folder:
    \usr\sap\<SID>\<DVEBMGS10>\j2ee\cluster\server0\temp\classpath_resolver
    Here all the mapping jars are there in this folder.
    Just decompile these jars and you can see the code.

  • How do I acquire the activation code to add my iPad to view it on Apple TV?

    How do I acquire the activation code to add my iPad to view it on Apple TV?

    on the same network no code is required
    ipad2 and later is required
    and Apple TV 2g and later is required
    read more here
    iOS: Use AirPlay Mirroring

  • Once object code is compiled and converted to a CIN, how do you view the original c code?

    I am editing a VI written a few years ago, and I want to view the c code referenced by a CIN. I cannot find this original c code, so I want to know if Labview can allow me to find and view the native c code. Any suggestions?

    If the original C code is gone, then there's not much you can do. It's really no different then trying to view the original C/C++ code of an exe that you have like Excel.

  • How do I write a javascript code to open InDesign File, import Doc, save and export to pdf?

    How do I write a javascript code to open InDesign File, import Doc, save and export to pdf?

    Hi hasvi,
    Need Template(.indt), textframes etc for the following script:
    var myFolderInd = Folder.selectDialog();
    var myFile = myFolderInd.getFiles("*indt");
    app.open(myFile)
    var myDoc = app.activeDocument;
    var myDocName = myDoc.name;
    var mySaveFile = app.activeDocument.save(myFolderInd.fsName + "/" + myDocName.split(".indt").join(".indd"));
    var myFolderDoc = Folder.selectDialog();
    var myFile1 = myFolderDoc.getFiles("*doc");
    mySaveFile.pages[0].textFrames[0].place(File(myFile1))
    //~ mySaveFile.place(File(myFile1))
    app.activeDocument.textPreferences.smartTextReflow = true;
    var myPDFFile = new File(mySaveFile.filePath + "/" + mySaveFile.name.split(".indd").join(".pdf"))
    myDoc.exportFile(ExportFormat.PDF_TYPE, File("~/Desktop/abc.pdf"));
    alert("Process Completed")
    Regards
    Siraj

  • How to know whether the javascript is disabled or not while loading the jsp

    Hi,
    My query is like how to know whether the javascript is disabled or not while loading the Application main JSP in Mozilla browser.
    I want some Java code or JavaScript code.

    To the point, just let JS fire a specific HTTP request inside the same session.
    This can be done in several ways. 1) Create a hidden <img> element and set the `src` attribute so that it will request a (fake) image from the server. The server just have to intercept on this specific request. 2) Fire an ajaxical request and let the server intercept on it. You can use a Filter for this which sets a token in the session scope to inform that the client has JS enabled.

  • W3_PUBLISH_SERVICES and dump while viewing the source code in se80

    Hi,
    external ITS6.20  on SAP R/3 4.7
    we have installed ITS and we published the templates. When we published the teampltes using the standard prgram   W3_PUBLISH_SERVICES, and around 43 of the services fail  Not sure if this is an error
    After the upgrade is finished, you must make this up, before you can use the Internet applications of the system. For a detailed procedure description see Note 399578.
    or not.
    On the other hand when i go to se 80 and try to view the source code of any ITS service lets say PZM3 in my case, the entire application goes for a dump with error
    Exception condition "INVALID PARAM VERB: TEXTSTREAM" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    What can you do?
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    A RAISE statement in the program "SAPLOLEA " raised the exception
    condition "INVALID PARAM VERB: TEXTSTREAM".
    Since the exception was not intercepted by a superior program
    in the hierarchy, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    How to correct the error
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    The termination occurred in the ABAP program "SAPLOLEA " in
    "AC_FLUSH_CALL_INTERNAL".
    The main program was "SAPMSEU0 ".
    The termination occurred in line 220 of the source code of the (Include)
    program "LOLEAU10 "
    of the source code of program "LOLEAU10 " (when calling the editor 2200).
    Any deas what the error could be??
    On the other hand i tried to see the Service 'System' and 'webgui' from se80 di dnot find any..
    Any ideas if we are missing in our landscape.
    Message was edited by:
            RajK
    Message was edited by:
            RajK

    Hi RajK
    > On the other hand i tried to see the Service 'System'
    > and 'webgui' from se80 di dnot find any..
    > Any ideas if we are missing in our landscape.
    The services system and webgui are shipped within the installer of ITS 6.20. So you can't find them in the database via SE80, instead only in the filesystem.
    Not your main problem, I know, but I just wanted to clarify.
    Best regards,
    Henning

  • Viewing the source code

    hi,
    I'm interested in doing some programming in Java but I'm having some real trouble just viewing the source code. First of all, I have a program I would like to look at and I have downloaded the binary files. However, after downloading the Java Development Kit, I still can't find a way to look at the actual source code. I have tried clicking everything in the C:\Program Files\Java\jdk1.6.0_12\bin file but with no avail. Is there a way to look at the actual source code? I've tried writing java but I really need examples in order to learn anything useful. Reading a HOWTO will only get me so far...
    In case you are wondering, the program I have downloaded is called iFreeBudget. Like I said earlier, it's programmed in Java and I have downloaded the binary files but I can't find a way to view the actual code the programmer used to make the program.
    Thanks for your time!
    Mike

    I've tried writing java but I really need examples in order to learn anything useful. Reading a HOWTO will only get me so far...I'm not exactly sure what you mean by a HOWTO but in addition to looking at examples you really should go through the tutorials here .
    From your message I inferred that you are a complete java beginner. I think you will save yourself much confusion and trouble if you take the time to go through the tutorials.
    There are code examples, instructions on how to setup and compile things, and all kinds of explanations of things that you will need to know.

  • How do I see the source code for 'NI Example Finder'?

    At the LabView Express demo, the rep showed us how to view the source code for 'NI Example Finder' (started with Help, Find Examples...). Please refresh my memory.
    --todd

    There are a couple of VI's that shipped with LabView 7.0, but you can't see the diagrams.
    C:\Program Files\National Instruments\LabVIEW 7.0\resource\system\HelpServer.llb\Run Example Finder__NATIONAL INSTRUMENTS.vi
    Press Ctrl-E on this VI and it prompts you for a password.
    This VI is run by C:\Program Files\National Instruments\LabVIEW 7.0\resource\system\HelpServer.llb\HelpServer__NAT​IONAL INSTRUMENTS.vi
    There's also C:\Program Files\National Instruments\LabVIEW 7.0\help\_exfinder.llb\Example Finder Launcher.vi.
    Tyring to open this VI starts the NI Example Finder. Note the taskbar icon which is different from the normal VI icon.
    It seems like NI is trying to keep us out, even if it used LabView to develop the Example Finder.

  • Viewing the VBA Code and Retaining during the code

    Hi Experts,
    Where can i view the VBA Code and Macros used in the Workbooks (If any). We are migrating the workbooks and we have some VBA Code used for formatting the workbooks. And after migration we lost the formatting features in the workbooks. How can i retain the earlier formatting. Anyone who was involved in a similar me share your experiences.
    Thank You!
    AM

    Hi,
    Migrating the workbook to 7.0: I did this, in following way:
    -save it. At this stage the format is going to be exactly same as 3.x workbook. If you start refreshing, you loose format.
    -Go to design mode and deselect 'apply format' option and save it again. Here you can see that you have lost the format.
    -Format it again and save it.
    -This should work now when you refresh. Refreshing takes.
    Pls chk this links;
    /message/3502939#3502939 [original link is broken]
    /message/3693377#3693377 [original link is broken]
    /message/3502939#3502939 [original link is broken]
    http://www.techonthenet.com/excel/macros/refresh_pt2.htm
    http://www.dicks-blog.com/archives/2004/09/27/ask-to-refresh/
    Re: Where are the BEx variable stored
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a55f9e09411d2acb90000e829fbfe/frameset.htm
    Hope it Helps
    Regards
    CSM Reddy

Maybe you are looking for