Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / August 2006

Tip: Looking for answers? Try searching our database.

Ajax hide code

Thread view: 
Brad Pitt - 07 Aug 2006 22:49 GMT
Hi all,
I have XMLHttpRequest object that connects to a web site in the
background, gets, post stuff. All good so far and working.

How do I hide the code so that the end-user can't see which web site I
am connecting to? I thought of creating a .JS file, but they can access
that using the absolute path. I know Google's view source will show you
all garbage only..no mention of web sites to connect.

One sense of assurance is that Ajax will not allow from diff domain. So
end-user can't create his form and try to submit something. But they
can always create a regular form and without using Ajax try to post to
my server. That will work.

Even if I give a sample ticket from the jsp session to the Ajax
javascript that they are supposed to give me before using the
server..will that work? How else can I prevent pple from messing up my
server. I want them to request a particular jsp using Ajax only thru my
application no other way.
Andrew Thompson - 07 Aug 2006 23:27 GMT
...
> I have XMLHttpRequest object that connects to a web site in the
> background, gets, post stuff. All good so far and working.
>
> How do I hide the code so that the end-user can't see which web site I
> am connecting to?

A 'packet sniffer' will reveal all.

Andrew T.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.