HTML - Keeping My Applet From Being Downloaded
Hello. I have a question. In order to put an applet in my web page, I have to link to my applet. This works great for normal people viewing my page, and they can use my applet just fine. However, I don't like the idea of people being able to look at the source code, get the link to the applet location, enter it into their browser, and then download my jar file because then they can hack into the jar, decompile, and steal my code (not that it is worth stealing, but still). How can I keep people from being able to download my jar file? My guess is to have the applet some kind of folder options that only allow web-server be able to access it if that is possible. I tried messing with the folder security settings but either the jar was still able to downloaded by entering the link in the browser, or the jar file wasn't able to be read by the web-server. Please help me out. Thank you.
Similar Tutorialshi how can i disable image from my web page. I dont want someone to download my pictures. please advice me Hi, I want to disable images from my web page.So people can not download from my website. Wat should i do please advice me i am novice Hi everyone. I just found this site. I'm a newbie, still stuck in HTML 4. I have an immediate need to add a powerpoint presentation file to my site so students can download it into their computers. Have tried putting file into root directory, then making tag: <a href="ftp://www.themcmullens.com/test.ppt">Download test</a> Doesn't work. Anyone have any ideas? Hello All, I have an issue. I am new to the web page building game and can't seem to find the answer to my question anywhere. On my web page I sell mp3's. I want the customer to be able to see how many times the songs that are listed have been downloaded. Can anyone help me please!!!??? I am just new, i just started HTML a week ago and pls help me. First of all sorry, but couldn't figure out where to put this :s anyway, I'm wondering what would be a good program to write Java applet's with for a website. I'm planning on making my own Java irc (applet) so that it will blend in nicely with the rest of the website style, and as such doesn't clash with it so any good programs, tutorials would be welcome Hello I would like to show my friends some java applet that I have made, so I decide to make a tiny html file showing it. However, I always get: Error. Click here for details. The html file and the java class file are in the same map. This is the html file: HTML Code: <Html> <Head> <Title>Java Example</Title> </Head> <Body> Hello<br> <br> <Applet Code="Test.class" width=200 Height=100> </Applet> </Body> </Html> And the java code, just an example. Code: import java.applet.*; import java.awt.*; public class Test extends Applet { public void paint(Graphics g) { g.drawString("Test :o",40,40); } } I have the following in an XHTML (.gsp, similar to .jsp) file that is intended to display the JMOL applet, but it isn't working. The 'jmol' directory is in the same directory as the XHTML file. Jmol.js is in that 'jmol' directory. I have a PDB file to display also inside the 'jmol' directory. Code: <head> <script type="text/javascript" src="./jmol/Jmol.js"></script> </head> ... <body> <script type="text/javascript"> jmolInitialize("./jmol"); jmolApplet(400, "load ./jmol/input_str.tinker.pdb;"); </script> </body> Thoughts? Hi, I have searched high and low, maybe I'm looking for the wrong information. What I want to do is align a scrolling Javascript applet to the right of my logo on my page. If I use right align it will align to the far right of the page, I have looked up using different divs to no avail. The current code I have is Code: <body> <p><img src="avid logo copy.png" width="900" height="167" border="0" align="left" usemap="#Map" /> <map name="Map" id="Map"><area shape="rect" coords="311,116,379,148" href="avid.php" target="_self" alt="Home Page" /> <area shape="rect" coords="397,117,483,147" href="gallery.php" target="_self" alt="Gallery" /> <area shape="rect" coords="502,116,638,145" href="promotions.php" target="_self" /> <area shape="rect" coords="654,116,737,144" href="profile.php" target="_self" /> <area shape="rect" coords="760,117,885,145" href="contact.php" target="_self" /> </map></p> <script type="text/javascript" src="js/scroller.js"></script> <div align="left"> <p> </p> </div> I'm wondering if I need to add a table of somesort but have never intergrated javascript in webpages before. Any advice would be great, I am more than happy to read an appropriate tutorial as opposed to asking to someone to fix it for me. That way I am actually learning instead of someone else doing it for me. If someone does know how to do it, if you could supply a brief description of the reasoning for particular code that would be a great help to me. Thanks, sLaeYa edit: website is www.avid-effects.com/test/avid.php I've got an applet with some features, one of which a background image. It's actual size is 10.60 inches wide by 5.30 inches of height. Using WIDTH="744" and HEIGHT="600" (as shown on the code below) does not display the entire image. Can someone tell me the right setting of values to fix it? Is there a code to authomatically capture whatever the size of the .jpg and make it fit? Thanks in advance. Here's the html: <p align="center" <APPLET code=string WIDTH="744" HEIGHT="600"> <param name="para_back" value="background.jpg"> </APPLET> </p> Looking for a simple Java applet that will search filenames from an entered keyword and display matching files for download. All that I can seem to find will search the contents of a file (html/txt) and display results. I'm looking to search through PDF filenames and display results. tnx Hey guys, I recently wrote my first java applet, and I've been trying to put it up on my website. I created a .jar file with the applet and the two extra classes it needed to run (a concrete class and an interface). I first embedded it using <applet> tags, and it seemed to work nicely. I ran it on my computer on Chrome, Firefox, and IE with no problems. But so far it hasn't worked on any other computer, and I've tried five different computers, and three different browsers (Chrome, Firefox, Opera). I realized it may have been due to the fact that <applet> tags have been depreciated, so I tried to make another one using <object> tags, which failed to work at all. I'm pretty confused, so any help would be appreciated! Here is the first version(using <applet> tags): (deleted) And the second version (using <object> tags): http://artymowicz.atwebpages.com/projects/gravity.html hi everybody, i want inter communication among frames ne frame containing applet and another frame containing list of experiment. first frame which have a java applet contains a breadboard having load button,by clicking it a circuit will be drawn by taking information from a file. i want dat i have no. of files as no. of experiment,once user click on a experiment corresponding file should be selected(marked) and after pressing the load button that circuit shoud be drawn on the bread board. one experiment code is like this but it is not working <a href="/rlabs/home/HTML/invertingAmpPictures.html" target="frame3" onClick="document.parent.frame1.breadboardApplet.setFileToLoad('invertingAmp')">Inverting amplifier The following webpage uses an a href to turn the chunk of java code into a link to the bottom of the page, while this works in Safari it doesn ot in FireFox v2/3 (I have not got IE, can somebody confirm). How can I make the java applet link work under FF? http://lovelago.googlepages.com/java_button_2.html Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><!-- charset must remain utf-8 to be handled properly by Processing --> <meta http-equiv="content-type" content="text/html; charset=utf-8"><title>java_button_eg : Built with Processing</title> <style type="text/css"> /* <![CDATA[ */ body { margin: 60px 0px 0px 55px; font-family: verdana, geneva, arial, helvetica, sans-serif; font-size: 11px; background-color: #ddddcc; text-decoration: none; font-weight: normal; line-height: normal; } a { color: #3399cc; } a:link { color: #3399cc; text-decoration: underline; } a:visited { color: #3399cc; text-decoration: underline; } a:active { color: #3399cc; text-decoration: underline; } a:hover { color: #3399cc; text-decoration: underline; } /* ]]> */ </style></head><body> <a href="#Bottom"> <div id="content"> <div id="java_button_eg_container"> <!--[if !IE]> --> <object classid="java:java_button_eg.class" type="application/x-java-applet" archive="java_button_eg.jar" standby="Loading Processing software..." height="100" width="100"> <param name="archive" value="java_button_eg.jar"> <param name="mayscript" value="true"> <param name="scriptable" value="true"> <param name="image" value="loading.gif"> <param name="boxmessage" value="Loading Processing software..."> <param name="boxbgcolor" value="#FFFFFF"> <param name="test_string" value="outer"> <!--<![endif]--> <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://java.sun.com/update/1.5.0/jinstall-1_5_0_15-windows-i586.cab" standby="Loading Processing software..." height="100" width="100"> <param name="code" value="java_button_eg"> <param name="archive" value="java_button_eg.jar"> <param name="mayscript" value="true"> <param name="scriptable" value="true"> <param name="image" value="loading.gif"> <param name="boxmessage" value="Loading Processing software..."> <param name="boxbgcolor" value="#FFFFFF"> <param name="test_string" value="inner"> <p> <strong> This browser does not have a Java Plug-in. <br> <a href="http://java.sun.com/products/plugin/downloads/index.html" title="Download Java Plug-in"> Get the latest Java Plug-in here. </a> </strong> </p> </object></a> <!--[if !IE]> --> </object> <!--<![endif]--> </div> <p> </p> <p> Source code: <a href="http://lovelago.googlepages.com/java_button_eg.pde">java_button_eg</a> </p> <p> Built with <a href="http://processing.org/" title="Processing.org">Processing</a> </p> </div> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><a name="Bottom">Bottom</a> </body></html> Hi everyone! I want to include Google ads in My forums But I want them to to stay on the right of the page So, apart from the Google ads code, anyone knows the code which I put so that the banner stays at the right (I will put it in the Header file, I know that) I just need the code to make it expand on the irght with the page _______________________ Academy of Security I know this is technically a javascript question, but I am trying to create a javascript popup window, but everything I find and try doesn't seem to work for what I want to do. I want a pop-up window to open when I click a certain image button on my site, and not automatically when the site loads. I want the pop-up to be positioned at top left and for it to always stay above the parent window. I've tried the alwaysRaised functionas well as focus ones but no luck! Ta! Some example code would be much appreciated. When I browse between pages on my website (well, and almost every website), the scrollbar goes to the top of the page by default. How can I make it so that it stays in the same place when switching pages? This is probably really simple but I can't seem to figure out how to do it. hi guys i have 5 identical pages all same as the index except one div box in each that contains all the different content of each page. my question is how do i make a change to the index and the others update the same way?? i was thinking of somehing like frames? I don't understand in the html table below, when I increase the resolution higher than 1024 by 768, what suppose to be another image on my top left corner, that entire column widens, why is that? How can I keep it still where it doesn't move when increase the resolution, this is driving me crazzzzzzzy, can someone help me? Thanks... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- saved from url=(0056)http://www.sharepointsample.com/stk/...nce/index.html --> <HTML><HEAD><TITLE>Home</TITLE> <META http-equiv=Content-Type content="text/html; charset=windows-1252" FP_GENERATED="TRUE"> <SCRIPT language=JavaScript FP_GENERATED="TRUE"> document.write('<ows:HTMLBase/>'); var strBinUrl="_vti_bin/"; </SCRIPT> <META http-equiv=Content-Language content=en-us> <META content="MSHTML 6.00.2900.2180" name=GENERATOR> <META content=FrontPage.Editor.Document name=ProgId> <META content="sharepoint-insurance 1110, default" name="Microsoft Theme"> <META content=none name="Microsoft Border"> <SCRIPT src="Home_files/owsredir.js" FP_GENERATED="TRUE"></SCRIPT> <SCRIPT language=JavaScript FP_GENERATED="TRUE"> RedirectToFrame("index%2ehtml","_vti_bin/owssvr.dll"); </SCRIPT> <SCRIPT src="Home_files/ows.js" FP_GENERATED="TRUE"></SCRIPT> <style type="text/css"> .style1 { border-collapse: collapse; font-family: "Century Gothic"; font-size: x-small; } .style3 { background-color: #2D1C84; } .style4 { background-color: #C0C0C0; } .style5 { background-color: #0066FF; } .style6 { background-color: #FFCC01; } .style8 { font-size: xx-small; text-align: right; font-family: Calibri; background-color: #8CBAFF; } BODY { FONT-SIZE: 12px; FONT-FAMILY: Arial, Helvetica, sans-serif } .section { FONT-WEIGHT: bold; FONT-SIZE: 0.8em; COLOR: #ffcc00; FONT-FAMILY: Arial, Helvetica, sans-serif } .LinksLight { FONT-SIZE: 10pt; COLOR: #ffffff; TEXT-DECORATION: none } A { TEXT-DECORATION: underline } .style12 { border: 1px solid #000000; border-collapse: collapse; font-family: "Californian FB"; font-size: x-small; color: #A0949A; } .style13 { background-image: url('ReadyVoice%20Site/images/bg_pg_blue.gif'); } .style14 { margin-top: 0px; } .style16 { color: #2D1C84; } .style17 { background-color: #000000; } </style> </HEAD> <BODY leftMargin=0 topMargin=0> <TABLE id=AutoNumber2 style="height: 99%;" cellSpacing=0 cellPadding=0 width="100%" class="style12"> <TBODY> <TR> <TD class="style17" style="height: 19px"></TD> <TD vAlign=top rowspan="3" style="width: 84%"><!--column 2--> <table style="width: 100%" cellspacing="0" cellpadding="0"> <tr> <td colspan="2" class="style17"> </td> </tr> <tr> <td style="width: 494px"> <img alt="" src="Home2_files/IS-Main.gif" width="500" height="70"></td> <td class="style5"> </td> </tr> <tr> <td style="width: 494px" class="style4"> </td> <td class="style8"> </td> </tr> <tr> <td style="width: 494px" class="style6"> </td> <td class="style6"> </td> </tr> <tr> <td style="width: 494px"> </td> <td> </td> </tr> </table> <img alt="" src="Eldon%20-%20Global%20Site_files/footer.jpg" width="767" height="90"><br> <br> <table style="width: 100%" cellspacing="0" cellpadding="0"> <tr> <td style="height: 3px; width: 38px"> <img alt="" src="Home_files/arrow.gif" width="25" height="24"></td> <td class="style16" style="width: 386px; height: 3px"><strong>Top 5 Questions of the Month</strong></td> <td style="height: 3px"></td> </tr> <tr> <td style="width: 23px"> </td> <td style="width: 376px"> <img alt="" src="Eldon%20-%20Global%20Site_files/footer_bg.jpg" width="325" height="0"></td> <td style="width: 38px"> </td> <td> </td> </tr> <tr> <td style="width: 23px"> </td> <td style="width: 376px"> </td> <td style="width: 38px"> </td> <td> </td> </tr> <tr> <td style="width: 23px"> </td> <td style="width: 376px"> </td> <td style="width: 38px"> </td> <td style="width: 386px"> </td> <td> </td> </tr> </table> <br> <br> <table style="width: 100%" cellspacing="0" cellpadding="0"> <tr> <td style="width: 23px"> <img alt="" src="Home_files/arrow.gif" width="25" height="24"></td> <td class="style16" style="width: 364px"><strong>Weekly Maintenance </strong><span class="style1"><strong>Announcements</strong></span></td> <td style="width: 22px"> <img alt="" src="Home_files/arrow.gif" width="25" height="24"></td> <td class="style16" style="width: 386px"><strong>What's New</strong></td> <td> </td> </tr> <tr> <td style="width: 23px"> </td> <td style="width: 364px"> <img alt="" src="Eldon%20-%20Global%20Site_files/footer_bg.jpg" width="325" height="0"></td> <td style="width: 22px"> </td> <td style="width: 386px"> <img alt="" src="Eldon%20-%20Global%20Site_files/footer_bg.jpg" width="325" height="0"></td> <td> </td> </tr> <tr> <td style="width: 23px"> </td> <td style="width: 364px"> </td> <td style="width: 22px"> </td> <td style="width: 386px"> </td> <td> </td> </tr> <tr> <td style="width: 23px"> </td> <td style="width: 364px"> </td> <td style="width: 22px"> </td> <td style="width: 386px"> </td> <td> </td> </tr> </table> <br> <TD vAlign=top bgColor=#65aeef style="width: 35%" rowspan="3" class="style13"> </TD> <TR> <TD vAlign=top class="style4"> <img alt="" src="IS%20TEST/ISMain-Image.jpg" width="150" height="209" class="style14"></TD> <TR> <TD vAlign=top class="style3" style="width: 14%; height: 20%"><br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> </TD> <TR> <TD bgColor=#000000 colSpan=3> </TD></TR></TBODY></TABLE></BODY></HTML> Hi there everyone. First time post here. I am trying to keep a footer at the bottom of my page. The problem is if I don't have enough content to fill up the whole page, the footer is not at the bottom of the screen. I am using tables for my format. My site: http://www.keystonestatistics.com/zzz.php Check the source. Thanks in advance for the help! |