Eyla
Eyla

Reputation: 5861

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?

Upvotes: 0

Views: 226

Answers (2)

kristian
kristian

Reputation: 23039

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

Upvotes: 1

Robusto
Robusto

Reputation: 31913

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.

Upvotes: 0

Related Questions