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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:35:20+00:00 2026-05-26T05:35:20+00:00

On our app we use secure function that make id in the road in

  • 0

On our app we use secure function that make id in the road in other way:

We have for example: http://some.com/controller/action/12

In secure it will be: http://some.com/controller/action/bs16gz

We need to impelement auto securing (read: do not secure and unsecure Id in each controller). So it should be general solution what will be automatically implemented in all application.

Any ideas?

—-Why we need it?—–

We want to prevent user to change id in QueryString for looking into another item

Exmaple:http://some.com/controller/action/12 is one record, then user change id to 13 and see another record. It’s needs to our system to prevent this actions.

  • 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-26T05:35:21+00:00Added an answer on May 26, 2026 at 5:35 am

    I wonder why would you need that. If you don’t want someone “in the middle” to see these IDs, secure your HTTP traffic with SSL. If you don’t want users to access other users’ content, put security in place.

    But if you’re still after securing IDs, I think model binders is the way to go:

    class MyController 
    {
        ActionResult Index(SecureID id) 
        {
            var resource = ResourceRepository.Get<Resource>(id); // implicit conversion to long
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a 12-year-old Ms Access app that we use for our core inventory
I'm refurbishing a simple web-app that our field techs use. One of my goals
Our app provides an API that people can use to submit URLs like this:
We have a partner that is actually owning our app on it's iTunes Connect
I believe I have set up our MVC app to use [HandleError] properly. This
In our app, we use components developed by other teams. The question was how
I'm making some changes to a bit of our app that parses a csv
For a couple of days we have problem with our app. We use SoapHttpClientProtocol
I use a WebView to display some internet content on one of our app's
In our web-app we use PHP5.2.6 + PDO to connect to a SQL Server

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.