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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:22:29+00:00 2026-05-24T04:22:29+00:00

I have a simple GAE system that contains models for Account, Project and Transaction.

  • 0

I have a simple GAE system that contains models for Account, Project and Transaction.

I am using Django to generate a web page that has a list of Projects in a table that belong to a given Account and I want to create a link to each project’s details page. I am generating a link that converts the Project’s key to string and includes that in the link to make it easy to lookup the Project object. This gives a link that looks like this:

<a href="/project?key=agxkZAB-bnVpY2VrbXRyDDsSBkNvdXBvbhgBDA">My Project Name</a>
  1. Is it secure to create links like this? Is there a better way? It feels like a bad way to keep context.

  2. The key string shows up in the linked page and is ugly. Is there a way to avoid showing it?

Thanks.

  • 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-24T04:22:30+00:00Added an answer on May 24, 2026 at 4:22 am

    After doing some more research, I think I can now answer my own question. I wanted to know if using GAE keys or ids was inherently unsafe.

    It is, in fact, unsafe without some additional code, since a user could modify URLs in the returned webpage or visit URL that they build manually. This would potentially let an authenticated user edit another user’s data just by changing a key Id in a URL.

    So for every resource that you allow access to, you need to ensure that the currently authenticated user has the right to be accessing it in the way they are attempting.

    This involves writing extra queries for each operation, since it seems there is no built-in way to just say “Users only have access to objects that are owned by them”.

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

Sidebar

Related Questions

I have a simple GAE app that includes a login/logout link. This app is
I have a web app on GAE written in Go that performs some calculations
I am trying to create a simple web app using Python on GAE. The
Creating simple app using GAE / Django-nonrel (I don't think the problem is specific
I have a very simple web-app running on GAE and we want to move
I have simple win service, that executes few tasks periodically. How should I pass
I have created a simple GAE app based on the default template. I want
I am trying to create a simple view in Django & GAE, which will
I have simple front controller plugin which contains this code: http://pastebin.com/m155c59b0 When session expire
I have simple test project which creates a frame and adds one JTextPane to

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.