开发者

asp.net controls vs html element security?

In general, If I have a choice when developing a web site to use html elements or asp.net controls which one is better to use if my website is interactive with server side operations such as accessing database. Is it more secure to use asp.net controls or does not matter. On other words, is it more secure to use asp.net controls instead of html 开发者_开发百科element to deliver data or receive data from/to server side or no differences?


There is no difference - ASP.NET controls will render as standard html elements because that's all browsers know how to display.


HTML elements are simply markup for client-side pages. ASP.Net uses forms to post data back to a server and deliver content (including HTML markup) to users based on credentials, session variables, etc.. ASP.Net is not the only way of talking to a server (incl. a database), but it's a very good one, robust and very mature.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜