Protect page & AJAX

S

sb5309

I need a page where only certain people can fetch data from a
database, ie using name and password.

Just an idea: has anybody used AJAX to protect a page ?

Thanks.
 
M

Martin Gregorie

I need a page where only certain people can fetch data from a database,
ie using name and password.

Just an idea: has anybody used AJAX to protect a page ?
Have you looked at Apache's authorisation capabilities? See .htaccess
documentation.
 
M

Mark Space

I need a page where only certain people can fetch data from a
database, ie using name and password.

Just an idea: has anybody used AJAX to protect a page ?

Thanks.

AJAX can't be used to protect a page. AJAX is run on the client, so an
attacker can easily skip it. Protection must be server side.
 
A

Arne Vajhøj

I need a page where only certain people can fetch data from a
database, ie using name and password.

Just an idea: has anybody used AJAX to protect a page ?

Assuming it is a Java web app, then you can use both
container managed and app managed security.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top