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 8697153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:26:55+00:00 2026-06-13T01:26:55+00:00

I have some legacy application that are currently posting basic information to a MVC3

  • 0

I have some legacy application that are currently posting basic information to a MVC3 form. I would like to seperate that out to a GET and pass the values in the querystring. Easy enough. However, I would like to add an anti-forgery token to the request. First of all, does this seem like a good option? Second, are there any examples of implementing such functionality from a non-MVC3 module to an MVC3 form?

My other alternative would be to encrypt the querystring.

  • 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-06-13T01:26:57+00:00Added an answer on June 13, 2026 at 1:26 am

    The Anti-Forgery Token as implemented by ASP.NET is meant as a mechanism to prevent CSRF (that corss-site-request-forgery) and does only work with HTTP POST.

    Since you are implementing a GET based “API” this Token won’t work (BEWARE of limits for example on the length of a querystring).

    I am not sure what exactly your goal is… Depending on your goal the solution is encrypting or signing the querystring or both.

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

Sidebar

Related Questions

I have a legacy application that I would like to move over to Symfony2.
I currently have a database that gets updated from a legacy application. I'd like
I have some data (produced by a legacy application) that I know is invalid
I currently am working on a legacy application and have inherited some shady SQL
Very strange question but I have some legacy code that interacts with another application
I have a legacy application that uses the windows time zone information for calculating
I have some legacy code that needs to be used in a new application.
I have been working on some legacy code in our application that detects certain
I have some legacy code that was used to monitor my applications cpu,memory etc
We have some legacy ASP.NET code that detects if a request is secure, and

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.