Hello,
I've recently noticed that someone can simply type in the URL to my
javaScript, from my HTML source code, to the explorer location bar and
an auto-save dialog pops up to let them save it !
My clients want to keep their paid-for code proprietary. How do I
prevent this from occuring ?
The javaScripts are embedded in my HTML in the following manner:
<SCRIPT SRC="/effects/top-menu.js"></SCRIPT>
...all someone has to do is strip out the URL part after my clients
domain name, and drop the above in after it, and hit enter - an
auto-save dialog pops up letting them download the scrpt. One of the
reasons for not including the code directly in the HTML is to try to
keep it proprietary (the other being so if I need to make a change to
it, I don't have to change all my HTML pages).
Any suggestions to ju**@barryoneil l.com would be appreciated.
Thanx,
Barry O'Neill 5 3415
In article <86************ **************@ posting.google. com>, ju**@barryoneil l.com (Barry) writes: Hello,
I've recently noticed that someone can simply type in the URL to my javaScript, from my HTML source code, to the explorer location bar and an auto-save dialog pops up to let them save it !
Yep, thats the way it works. Well, depending on how the browser is setup to
manage .js files. But anyway, its moot.
My clients want to keep their paid-for code proprietary. How do I prevent this from occuring ?
Remove it from the web. Now, its safe. Otherwise, it can be gotten.
The javaScripts are embedded in my HTML in the following manner:
<SCRIPT SRC="/effects/top-menu.js"></SCRIPT>
..all someone has to do is strip out the URL part after my clients domain name, and drop the above in after it, and hit enter - an auto-save dialog pops up letting them download the scrpt. One of the reasons for not including the code directly in the HTML is to try to keep it proprietary (the other being so if I need to make a change to it, I don't have to change all my HTML pages).
Again, thats the way it works. After you manage to come up with some hack to
try to stop this from "working", you will be asking how to stop
view-source:absolute URLToJSFile.js from working. Then, how to stop it from
being gotten from the cache? Or, File>Save As in IE will save the file as well.
In short, take it off the web. Otherwise, it can be gotten.
--
Randy ju**@barryoneil l.com (Barry) writes: I've recently noticed that someone can simply type in the URL to my javaScript, from my HTML source code, to the explorer location bar and an auto-save dialog pops up to let them save it !
My browser just shows the code as text. I can save it easily.
My clients want to keep their paid-for code proprietary. How do I prevent this from occuring ?
Don't put it on the web! There is no other way!
If anybody claims to have a way to send code to the browser and have
it executed, and at the same time prevent the user, whose browser it
is, from seeing the code, they are either lying or clueless.
One of the reasons for not including the code directly in the HTML is to try to keep it proprietary
It makes no difference, except against people who wouldn't be able
to read the code anyway.
/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
'Faith without judgement merely degrades the spirit divine.'
Barry said: Hello,
I've recently noticed that someone can simply type in the URL to my javaScript, from my HTML source code, to the explorer location bar and an auto-save dialog pops up to let them save it !
My clients want to keep their paid-for code proprietary. How do I prevent this from occuring ?
It's too late now, but the general rule is that you should
avoid taking on paying customers until you know a little bit
about how web servers and browsers work.
Any suggestions to ju**@barryoneil l.com would be appreciated.
Welcome to USENET. You shouldn't ask for email responses here.
> My clients want to keep their paid-for [JS] code proprietary.
Short answer: Not possible.
Longer answer: Remember that since Javascript is a client-side technology, every script runs on the machines
of your visitors. That means that in the end, every piece of Javascript has to be transferred to them somehow,
and after that point you've of course no control of what they'll be doing to it (saving, copying, printing,
....). Even if you find some way of setting IE to prevent the right-click menu and prevent "view-source:"
requests and prevent what-not, you can't be sure how it behaves in other browsers. Finally, what do you do if
I'd telnet to your server and request the script manually via GET?
The solution is to run your code on the server, since then there's no need for it to be sent around.
Server-side scripting is something completely different though, have a look at PHP or Perl if you are
interested in that (Javascript won't do).
Best regards
Hendrik Krauss
It is possible, but only if your clients' network has fixed external IP(s).
Then you can check each request against this IP(s) and either serve it
or deny it.
Respectively you can serve separate parts of the page (scripts, applets)
based on the IP check.
If your customers using server-assigned IPs (or if there are not any
customers,
you just want to protect your software from copying) then you are out of
luck.
JavaScript/JScript/VBScript and Java (yes, Java too) code is open-source
software by their nature.
If you invented some ground-breaking algorithm, use it in a native
application.
Still the law of Parkinson-Murphy remains in effect:
"Anything created by one human being can be disassembled and/or altered by
another human being".
(The "Black box vulnerability" law)
Barry <ju**@barryonei ll.com> wrote in message
news:86******** *************** ***@posting.goo gle.com... Hello,
I've recently noticed that someone can simply type in the URL to my javaScript, from my HTML source code, to the explorer location bar and an auto-save dialog pops up to let them save it !
My clients want to keep their paid-for code proprietary. How do I prevent this from occuring ?
The javaScripts are embedded in my HTML in the following manner:
<SCRIPT SRC="/effects/top-menu.js"></SCRIPT>
..all someone has to do is strip out the URL part after my clients domain name, and drop the above in after it, and hit enter - an auto-save dialog pops up letting them download the scrpt. One of the reasons for not including the code directly in the HTML is to try to keep it proprietary (the other being so if I need to make a change to it, I don't have to change all my HTML pages).
Any suggestions to ju**@barryoneil l.com would be appreciated.
Thanx,
Barry O'Neill This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: rawCoder |
last post by:
If an item is added in a grid, then the grid scrolls automatically either to
bring the selected or the last entered item in focus.
Is there a way to disable this scrolling.
Means, If I am looking at item number 500 and the item number 100 is
selected and an item is added at the top. Then grid doesnt scroll anywhere
and item number 500 keeps in view.
Is it possible ?
|
by: Ian |
last post by:
When you add a control to the web form designer in VS.NET, say a label
called "InheritanceTestLabel", VS.NET automatically adds the following
line to the code-behind.
protected new System.Web.UI.WebControls.Label InheritanceTestLabel;
I would like to inherit the code-behind from a class that already has
this protected member field. If you leave the line in the inherited
code-behind VS.NET complains that you need the new keyword cause...
|
by: John Holmes |
last post by:
I saw a similar post that went unanswered about a month ago. I am annoyed by
the auto-formatting that occurs when creating my form. I'll make changes to
the code (HTML tab) and then view them in Design mode and when I go back to
the HTML mode the code I just typed in has been reformatted. It doesn't
always do it the same either. I usually don't capitalize tag names and it
will auto-capitalize the ending tags sometimes. I've gone through...
|
by: hb |
last post by:
Hi,
The auto-formatting of HTML code in Visual Studio.Net 2003 is very annoying!
I already unchecked the 2 checkboxes in "Apply Automatic Formatting" section
located at:
Tools-->Options-->Text Editor-->HTML/XML-->Format
But the VS still does the HTML code auto-formatting. The most notable is the
auto-conversion of "»" to ">>" and the likes which make some pages
look ugly on other browsers.
|
by: junlia |
last post by:
Does anyone how how can we disable the auto-postback feature in asp.net page?
I have to use a server side control in the page, but the auto post back
feature in it causes problems for me. Please help!
Thanks much,
Junlia
| |
by: Agnes |
last post by:
I need to disable the exit button in the form .
However, the min. and max. button need to keep it
How ?
Thanks a lot
From Agnes
|
by: KKuser |
last post by:
Hello:
I currently use
Me.FormBorderStyle = FormBorderStyle.None
to hide the tile bar, but it looks quite ugly.
It's easy to disable the "X" button using VB6, but I really can't find out
any way to do the same thing using VB.Net.
|
by: Julien Grossiord |
last post by:
Hello,
As I do not need it, I would like to disable ViewState on my server but even
if I use <pages enableViewState="false"> in web.config or <%@ Page EnableViewState="false"
.... %> in my pages, I still have a hidden field __VIEWSTATE in the form.
Do you know how I could disable it ?
Best regards,
Julien.
|
by: Joe Cool |
last post by:
When I put a disk in my dvd drive, most of the time windows askes me
how I want to process the files on the disk. Sometimes, it will
automatically open a browser window showing the contents of the disk.
I have an application I wrote in VB2005 that puts together pieces of a
larger file that had been burned to two or more disks. When it
finishes the file on one disk, it opens the dvd tray and prompts for
the next disk. When I put the next...
|
by: =?Utf-8?B?Y29kZW11dHQ=?= |
last post by:
I've got a problem where my HTTP WCF messages are not going where I want them
to go because my company has tightened its proxy restrictions.
Basically the AUTO-DETECTION of a proxy that has been set up for the browser
to hinder certain website access is causing .NET / WCF to use the proxy when
sending messages bound for a different web service (not the proxy). I cannot
just turn off the proxy in the LAN settings.
What I want to do is...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |