This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > FrontPage Programming > May 2006 > Protecting Javascript





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Protecting Javascript
Jacques

2006-05-26, 6:58 pm

In my web site, the user pays through Paypal, then access a page with some
javascript. I want to protect the javascript code, I know it's impossible but
I want to make the access to it difficult. So I found that:
http://www.digitalmidget.com/help/noclick/copy4.php
It shows how to remove the toolbar. The problem is that the user has to
click to a link before accessing the protected page. While in my case, the
user pay using Paypal then Paypal goes directly to my page with javascript.
So I can't control the paypal page and I don't want to insert an additional
page after the user pays where he would have to click to access my protected
page.
Is there another way to protect my page?
Rob Giordano \(Crash\)

2006-05-26, 6:58 pm

Didn't you follow the whole explanation on digitalmidget?


"Jacques" <Jacques@discussions.microsoft.com> wrote in message
news:D7233655-7A2D-4442-920C-AE3DCBCC810A@microsoft.com...
| In my web site, the user pays through Paypal, then access a page with some
| javascript. I want to protect the javascript code, I know it's impossible
but
| I want to make the access to it difficult. So I found that:
| http://www.digitalmidget.com/help/noclick/copy4.php
| It shows how to remove the toolbar. The problem is that the user has to
| click to a link before accessing the protected page. While in my case, the
| user pay using Paypal then Paypal goes directly to my page with
javascript.
| So I can't control the paypal page and I don't want to insert an
additional
| page after the user pays where he would have to click to access my
protected
| page.
| Is there another way to protect my page?


Jacques

2006-05-26, 6:58 pm

I did.
In http://www.digitalmidget.com/help/noclick/copy4.php , you have to click
on the link "click right here for no toolbar page" in order to go to the page
with no toolbar.
My problem is that after the user pays through Paypal, the Paypal page will
go directly to my page with javascript code. And I don't control the Paypal
page, I can't put a code similar to copy4.php. So is there another way to
protect my javascript code?
I could use the digitalmidget.com code by telling Paypal to go to an
intermediary page where the user has to click in order to go to my page with
javascript but it's not direct, it is a bit heavy.
I know that on Windows 2003 Server, it's possible to protect a file with
security so it can be executed but not read. Is it possible with my .js file?


"Rob Giordano (Crash)" wrote:

> Didn't you follow the whole explanation on digitalmidget?
>
>
> "Jacques" <Jacques@discussions.microsoft.com> wrote in message
> news:D7233655-7A2D-4442-920C-AE3DCBCC810A@microsoft.com...
> | In my web site, the user pays through Paypal, then access a page with some
> | javascript. I want to protect the javascript code, I know it's impossible
> but
> | I want to make the access to it difficult. So I found that:
> | http://www.digitalmidget.com/help/noclick/copy4.php
> | It shows how to remove the toolbar. The problem is that the user has to
> | click to a link before accessing the protected page. While in my case, the
> | user pay using Paypal then Paypal goes directly to my page with
> javascript.
> | So I can't control the paypal page and I don't want to insert an
> additional
> | page after the user pays where he would have to click to access my
> protected
> | page.
> | Is there another way to protect my page?
>
>
>

Tom [Pepper] Willett

2006-05-26, 11:05 pm

No matter how you code serverside, a js file is just a text file which is
downloaded from the server and viewed in a browser. anyone can then save the
file ...
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
"Jacques" <Jacques@discussions.microsoft.com> wrote in message
news:45EA0978-B18E-4631-A240-846833D2756D@microsoft.com...[color=darkred]
>I did.
> In http://www.digitalmidget.com/help/noclick/copy4.php , you have to click
> on the link "click right here for no toolbar page" in order to go to the
> page
> with no toolbar.
> My problem is that after the user pays through Paypal, the Paypal page
> will
> go directly to my page with javascript code. And I don't control the
> Paypal
> page, I can't put a code similar to copy4.php. So is there another way to
> protect my javascript code?
> I could use the digitalmidget.com code by telling Paypal to go to an
> intermediary page where the user has to click in order to go to my page
> with
> javascript but it's not direct, it is a bit heavy.
> I know that on Windows 2003 Server, it's possible to protect a file with
> security so it can be executed but not read. Is it possible with my .js
> file?
>
>
> "Rob Giordano (Crash)" wrote:
>


Thomas A. Rowe

2006-05-26, 11:05 pm

You can't protect anything the is viewable in page source.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"Tom [Pepper] Willett" <tompepper@mvps.invalid> wrote in message
news:uqDQRwRgGHA.4304@TK2MSFTNGP05.phx.gbl...
> No matter how you code serverside, a js file is just a text file which is downloaded from the
> server and viewed in a browser. anyone can then save the file ...
> --
> Tom [Pepper] Willett
> Microsoft MVP - FrontPage
> FrontPage Support: http://www.frontpagemvps.com/
> ----------
> "Jacques" <Jacques@discussions.microsoft.com> wrote in message
> news:45EA0978-B18E-4631-A240-846833D2756D@microsoft.com...
>
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews