468,771 Members | 1,778 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,771 developers. It's quick & easy.

Security of postbacks / button visibility

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?

Oct 2 '07 #1
1 1115
Hello do***********@yahoo.com,
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.
--
Jesse Houwing
jesse.houwing at sogeti.nl
Oct 2 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Dot net work | last post: by
5 posts views Thread by Dave | last post: by
1 post views Thread by NancyASAP | last post: by
2 posts views Thread by Adrian Parker | last post: by
9 posts views Thread by john_woo | last post: by
2 posts views Thread by tshad | last post: by
1 post views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.