Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5941385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:06:08+00:00 2026-05-22T16:06:08+00:00

I am building an ASP.NET web application that has numerous forms for public users

  • 0

I am building an ASP.NET web application that has numerous forms for public users to sign up and enter in data to be saved into a database. I’ve always wanted to dig a little deeper into true AJAX so I have writing many of the transactions as RESTful WCF web services. Transactions like new user registration, user login and simple form submissions are all done via AJAX.

Upon a code review a team member objected to this approach on the basis that,

“it is less secure than full postbacks because .NET has ‘security measures’ like ViewState to prevent abusive clients from hammering the server.”

  • Does this argument have merit?
  • How much more am I exposing my application to abuse by using RESTful web services than If I used full postbacks?

I’m not necessarily looking for .NET, WCF or even ViewState specific responses though those will certainly be more relevant to my particular situation. I am looking for answers that address the technical approaches themselves – not the implementations of them. A web service that can modify any user account without validating the authorization is obviously a bad implementation. A “full postback” page can have an equally poor implementation. Therefore this argument would be neither here nor there.

Is there anything inherent to RESTful web services (or web services in general) that make them more insecure than a traditional .net postback?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:06:09+00:00Added an answer on May 22, 2026 at 4:06 pm

    Your team member is incorrect.

    ViewState has nothing to do with security.

    In fact, RESTful web services are more performant than ASP.Net pages, because they involve sending less down the wire, and because they don’t have the overhead of ASPX (ViewState)

    However, you do need to protect against CSRF attacks, which the ASP.Net non-AJAX model mitigates.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a web application using ASP.NET MVC that has two very distinct
I am building a multi-layered application that has an ASP.NET MVC web application. It
I am building an ASP.NET web application that will use SQL Server for data
I am building an ASP.NET web application that will be deployed to a 4-node
I am building a Web Application using asp.net (C#). I come from windows forms
I'm building a 4 layered ASP.Net web application. The layers are: Data Layer Entity
I'm building an ASP.NET web application using NHibernate and a legacy database. In that
I've got a web app I'm building in ASP.NET that has the following security
I'm building an ASP.NET web application, and all of my strings are stored in
I'm am building my asp.net web application using MVC (Preview 5), and am also

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.