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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:24:02+00:00 2026-05-12T06:24:02+00:00

A CSRF/XSRF can be prevented using a number of techniques. One of the technique

  • 0

A CSRF/XSRF can be prevented using a number of techniques.

One of the technique is to use a token unique to the client session with every request being sent by the client to the server; which is being validated on the server side. If the request token and the token on the server side matches, the request is allowed to enter the application and if it does not it is not allowed to enter. Thus a CSRF attack would be detected.

Though the idea behind the technique is very clear to me, I am not sure about how URL rewriting could help prevent a CSRF attack? Can security gurus throw some light on this?

  • 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-12T06:24:02+00:00Added an answer on May 12, 2026 at 6:24 am

    Here is a brief story that talks about URL rewriting. It says:

    We could mitigate much of the risk of these vulnerabilities by frequently changing our URLs — not once every 200 years but once every 10 minutes. Attackers would no longer be able to exploit application vulnerabilities by mass e-mailing poisoned hyperlinks because the links would be broken and invalid by the time the messages reached their intended victims.

    Which I guess (and the article agrees) is one facet of a total approach to preventing this issue from happening. Microsoft also has a good article that talks about this.

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

Sidebar

Related Questions

Django comes with CSRF protection middleware , which generates a unique per-session token for
How can I retrieve the CSRF token to pass with a JSON request? I
Can someone confirm this: do I need to provide both a CSRF token and
I can't get around the CSRF token validation 403 error. Here's what I have:
Can we change CSRF token per-form request or even per-request instead of same token
I know that Codeigniter has a very useful security class which can prevent CSRF/XSRF
I have implemented CSRF protection on my website using a CSRF token in a
Cross-site request forgery (CSRF or XSRF) attacks provokes unauthorised actions in your web application
The django csrf middleware can't be disabled. I've commented it out from my Middleware
By default the form post CSRF protection in Rails creates an authenticity token for

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.