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

  • Home
  • SEARCH
  • 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 8686063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:44:28+00:00 2026-06-12T22:44:28+00:00

My students all have a Google account, but use different emails (like john@hotmail.com).I tried

  • 0

My students all have a Google account, but use different emails (like john@hotmail.com).I tried to write a webapp that would get from my grade spreadsheet the row with the webapp’s user’s email address, so that each student would only see his or her grades. That webapp uses: Session.getActiveUser().getEmail()

This only works for users in the same domain as the script, I have to run the script as the webapp user (which is ok — my students trust me that far!). Here is that restriction:

Returns a User object describing the current user. In
limited-privilege executions (such as in response to onOpen or
onEdit), we only return the identity of the active user if both the
user and the script owner are part of the same domain. This is to
protect the privacy of consumer users, who may not want their email
address exposed.

My script works, but I have to put the table of grades directly in the script and update the webapp each time I update my spreadsheet. Yeck!

I can’t share my grade spreadsheet because then they would see each other’s grades. So now I am brainstorming other workarounds.

Here is one example:

  1. Share a second spreadsheet, copy the grades from my spreadsheet with an update function that encrypts the grades. The webapp sucks up the data from the shared spreadsheet and decrypts. Now a simple update of a spreadsheet is all that is needed — the webapp doesn’t need to be republished. (There are some simple encryption options, like base64encode with maybe a little scrambling…?)

  2. Find a way to automatically update the webapp and republish. (Don’t know how to do that.)

  3. ????

Any suggestions?

PS: if 1 seems feasible, some suggestions for simple encryption code?

  • 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-12T22:44:29+00:00Added an answer on June 12, 2026 at 10:44 pm

    I dont understand why you say “My script works, but I have to put the table of grades directly in the script and update the webapp each time I update my spreadsheet”

    It is very easy to create a webapp that shows a part of a spreadsheet using a flextable for example. Each instance of the app will have a user related content automatically and you will only have to update your master spreadsheet to get what you want. I don’t know why you want to encode data for this… I think the user identification through the google login should be enough, don’t you ?
    Here is an example of such a webapp, the numbers you see are taken from a specific column in a master spreadsheet (for this public copy I set the app as running as “me” to avoid the authorization process but in real every user is identified and sees only his data).

    The Spreadsheet itself and the code are viewable here, do not hesitate to come back if you need further information.

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

Sidebar

Related Questions

All: I have the option to upgrade to Xcode 4.2, but my students, in
I have a project where I maintain a list of all my students and
I have two Entities University courses Course students i want to access all the
i have all my students data in s variable i.e first name,last name,id. which
I have schools, which contains groups, which contains students. I would like to remove
I have a students xml from a database. The student_state column can have a
i have a table Students which contains the following colums: Id,FirstName,LastName,Adress . The colum
We are two students who want to use one-class svm for dectection of summary
I have a timestamp entry of 4 students answering an online questionnaire in a
I have kind of reports about students accounts is it possible to print it

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.