java


How to protect from malicious call


Suppose there is a service(sendRegCode) within my web application(use java), I can call this service through my *.jsp page using JQuery method($.ajax{...}).
Now my question is, if anyone see this service name by investigating the html page source code, then he can use it from anywhere and can put some malicious entry by calling this services?
So how should I protect this services from others malicious call and at the same time I should be able to use it with JQuery/Javascript calls.
Anyone knows the answer would be appreciated.

Related Links

Should we user anonymous classes for Button click listener or Inner named class
XML adding the same element as a child (Getting HIERARCHY_REQUEST_ERR)
JSR 303: Is it possible to validate whole graph automatically?
Google cloud Sql - Insert image failed
Java REGEX to match an exact number of digits in a string
How to initialize Key Class in HashMap in Java
Setting page break in JEditorPane HTML for printer
Java - Displaying contents of a HashMap using (Abstract)ListModel
Best data structure to hold elements whose elements can be later distributed among stakeholders?
Is it possible to develop for Windows Azure from another OS?
Enable/Disable checkbox based on Jquery Ajax Call to Server side method upon dropdown change
Java InterruptedException - I'm confused as to what it even means for a thread to be interrupted or why it would be
How can I create 2 separate log files with one log4j config file?
facebook format of POST object (to a wall)
Spring MVC Dropdown List
How many outer **this** will have this inner class?

Categories

HOME
hive
hook
webpack
minimum-spanning-tree
relay
youtube-api-v3
installshield
cross-validation
gitpitch
awesome-wm
floating-action-button
etl
dynamics-crm-online
try-catch
footer
pugjs
flux
sms-gateway
alpine
lldb
emulator
conemu
tar
ehcache
kvc
zurb-foundation-6
pingfederate
phonegap
oracle-fusion-middleware
google-sites-2016
fog
usbserial
subset-sum
rotational-matrices
main
dosbox
retina-display
objectlistview
ansible-playbook
temporary-files
flashair
youcompleteme
powercli
rdfs
togetherjs
crypt
namecoin
pillow
memory-alignment
yt-project
xcb
visual-c++-2008
ado.net-entity-data-model
asp.net-4.5
whois
fadeout
independentsoft
wapiti
tmuxinator
wireshark-dissector
riak-cs
angular-local-storage
notify
jsapi
python-green
internet-connection
googlemock
php-5.4
contenttype
funcunit
reactfx
mechanize-ruby
centos5
floating-point-precision
jsctypes
dir
ocunit
e4x
nsnetservice
postgresql-performance
asyncfileupload
transactionscope
nsdatecomponents
gwt-ext
pydot
xmlspy
xdomainrequest
recent-documents
html-input
w3wp.exe
fluent-interface
kdbg
data-driven
aquaticprime
signal-handling

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App