Security of postbacks / button visibility

G

Guest

If I put a asp button on a page with a runat=server attribute and then
set it's visibility to FALSE, so that it doesn't display on the page,
but have a click event for the button in the code behind, is it
possible for someone to still write a javascript postback routine and
trigger the code behind's click event?
 
J

Jesse Houwing

Hello (e-mail address removed),
If I put a asp button on a page with a runat=server attribute and then
set it's visibility to FALSE, so that it doesn't display on the page,
but have a click event for the button in the code behind, is it
possible for someone to still write a javascript postback routine and
trigger the code behind's click event?

The security of these postbacks has been improved in ASP.NEt 2.0. Theoretically
it's possible though.
 

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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top