0

I've a question, hope to explain it quickly!

Well, I have an .aspx page, where I check every time if a user is logged in or not. If it is logged, it will show some content, which come from some Web User Control inserted into this .aspx.

These User Control contains some methods, like :

protected void checkFields_Click(object sender, EventArgs e) { }

which, theoretically, will be "only" called from the Button on the .ascx page, and only passing with that Button, since there is in a ViewState.

But, ViewState is not safe at 100% (suppose a user will bet the number of ViewState, for example...). So, my question is this : can a user call, for an external resource, that method on my Web User Control? Or .NET make some mechanism which is impossible to do it?

Hope to have been clear! Else, ask to me!

4

0 に答える 0