how to unshare files that have been shared with you?

112 views
Skip to first unread message

michel paul

unread,
Feb 5, 2012, 10:56:37 AM2/5/12
to sage...@googlegroups.com
Is there a way to unshare a file that has been shared with you? Using file sharing on Sage for students to turn in work has been great, but a weird situation has occurred. Some students have shared files with me and then forgot their password, so they made a new account. Meanwhile, their old shared files just hang around in the class account, and I can't get rid of them. I've tried deleting, archiving, anything I could think of, but they just stay there in the active list. 

Or - is there a way to delete an account that you've created?

How to annoy someone using Sage - just share tons of files with them. They won't be able to get rid of them.

-- Michel 

==================================
"What I cannot create, I do not understand."

- Richard Feynman
==================================
"Computer science is the new mathematics."

- Dr. Christos Papadimitriou
==================================

dimpase

unread,
Feb 5, 2012, 1:18:44 PM2/5/12
to sage...@googlegroups.com
I guess one needs to know how much control over your Sage installation you have. Are you running a local Sage notebook server, or using something like sagenb.org?

In the former case you can do most everything...

michel paul

unread,
Feb 5, 2012, 1:39:08 PM2/5/12
to sage...@googlegroups.com
Right, I use various forms of *.sagenb.org. I work in a high school and have no control whatsoever. : )


On Sun, Feb 5, 2012 at 10:18 AM, dimpase <dim...@gmail.com> wrote:
I guess one needs to know how much control over your Sage installation you have. Are you running a local Sage notebook server, or using something like sagenb.org?

In the former case you can do most everything...

--
You received this message because you are subscribed to the Google Groups "sage-edu" group.
To view this discussion on the web visit https://groups.google.com/d/msg/sage-edu/-/S1lnTJPhwskJ.
To post to this group, send email to sage...@googlegroups.com.
To unsubscribe from this group, send email to sage-edu+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en.



--

A. Jorge Garcia

unread,
Feb 5, 2012, 2:04:22 PM2/5/12
to sage...@googlegroups.com
I have the same problem. I would ordinarily setup my own local SAGE
server, but I don't have a spare Linux box right now.

TIA,
A. Jorge Garcia
Applied Math and CompSci
http://shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009


-----Original Message-----
From: michel paul <mpau...@gmail.com>
To: sage-edu <sage...@googlegroups.com>
Sent: Sun, Feb 5, 2012 1:49 pm
Subject: Re: [sage-edu] Re: how to unshare files that have been shared
with you?

Right, I use various forms of *.sagenb.org. I work in a high school and
have no control whatsoever. : )


On Sun, Feb 5, 2012 at 10:18 AM, dimpase &lt;dim...@gmail.com&gt;

Andrey Novoseltsev

unread,
Feb 6, 2012, 10:28:32 AM2/6/12
to sage-edu
On a related note, it would be nice to be able to recover forgotten
passwords - I use sagenb.org very infrequently and quite often I
forget the password of the previous time (in the spirit of always
using different passwords and not writing them down). Since I usually
just post worksheets that I want to be public, it is not such a big
deal, but if I was doing some actual work and lost access to it, it
would be very frustrating. It seems that there is email field in users
profile, can't it be used to reset the password?

Thank you,
Andrey

Jason Grout

unread,
Feb 6, 2012, 10:50:37 AM2/6/12
to sage...@googlegroups.com
On 2/6/12 9:28 AM, Andrey Novoseltsev wrote:
> It seems that there is email field in users
> profile, can't it be used to reset the password?

We should have that feature; a big +1. Dan Drake worked a bit on also
using email to confirm account registration. In fact, if email address
is required (a setting in the notebook admin page), a "Forgot password"
link appears at the bottom of the login page (see sage.cs.drake.edu, for
example). I don't know how well it works, though. Of course, as
always, patches are welcome!

Should we require email addresses on sagenb.org?

Jason

A. Jorge Garcia

unread,
Feb 6, 2012, 11:37:38 AM2/6/12
to sage...@googlegroups.com
Jason Grout <jason...@creativetrax.com> wrote:
-- 
You received this message because you are subscribed to the Google Groups "sage-edu" group.
To post to this group, send email to sage...@googlegroups.co m.
To unsubscribe from this group, send email to sage-edu+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en.


Requiring email addresses could be a problem. Many schools block email clients. So, the student would not be able to confirm the email until they got home. Creating accounts the first day of class would be a hassle. It's so easy now. I say leave it the way it is!
Thanx,
Sent via DROID on Verizon Wireless

William Stein

unread,
Feb 6, 2012, 11:49:09 AM2/6/12
to sage...@googlegroups.com

I will probably have to do that and ban all accounts on
http://sagenb.org that don't have emails. This is because as
sagenb.org gets more popular, it'll get abused by spammers, hackers,
etc. Right now, I'm still OK with leaving things as is, but this is
temporary. Maybe http://sagenb.com (which doesn't exactly exist as a
separate site) will be different.

---

There are "only" 80,264 http://sagenb.org accounts. The number of
accounts grows at a rate of about 100-150/day.

Can't we enable the "Forget password" link anyways, and have it work
when accounts have an email address associated with them, but not
otherwise? Just a thought...

>
> Jason


>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-edu" group.
> To post to this group, send email to sage...@googlegroups.com.
> To unsubscribe from this group, send email to
> sage-edu+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sage-edu?hl=en.
>

--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

kcrisman

unread,
Feb 6, 2012, 1:32:36 PM2/6/12
to sage-edu

> There are "only" 80,264http://sagenb.orgaccounts.  The number of
> accounts grows at a rate of about 100-150/day.

Yikes!

> Can't we enable the "Forget password" link anyways, and have it work

I'd like to forget some passwords, too.

> when accounts have an email address associated with them, but not
> otherwise?  Just a thought...

That seems reasonable. It is nice to not have to go through spam-
avoidance stuff with sagenb when presenting and asking people to try
out Sage *right now during the talk*...

How would a spammer abuse Sage, exactly? I can see someone bored
trying to do a fork bomb, but... publishing worksheets with ads?

Jason Grout

unread,
Feb 6, 2012, 1:44:55 PM2/6/12
to sage...@googlegroups.com
On 2/6/12 10:49 AM, William Stein wrote:
> On Mon, Feb 6, 2012 at 7:50 AM, Jason Grout<jason...@creativetrax.com> wrote:
>> On 2/6/12 9:28 AM, Andrey Novoseltsev wrote:
>>>
>>> It seems that there is email field in users
>>> profile, can't it be used to reset the password?
>>
>>
>> We should have that feature; a big +1. Dan Drake worked a bit on also using
>> email to confirm account registration. In fact, if email address is
>> required (a setting in the notebook admin page), a "Forgot password" link
>> appears at the bottom of the login page (see sage.cs.drake.edu, for
>> example). I don't know how well it works, though. Of course, as always,
>> patches are welcome!
>>
>> Should we require email addresses on sagenb.org?
>
> I will probably have to do that and ban all accounts on
> http://sagenb.org that don't have emails. This is because as
> sagenb.org gets more popular, it'll get abused by spammers, hackers,
> etc. Right now, I'm still OK with leaving things as is, but this is
> temporary. Maybe http://sagenb.com (which doesn't exactly exist as a
> separate site) will be different.
>
> ---
>
> There are "only" 80,264 http://sagenb.org accounts. The number of
> accounts grows at a rate of about 100-150/day.
>
> Can't we enable the "Forget password" link anyways, and have it work
> when accounts have an email address associated with them, but not
> otherwise? Just a thought...

I had that same thought. First, we'd have to make sure the Forget
Password link works at all. Then it would be easy to put in a check
like that.

Thanks,

Jason

John McNally

unread,
Feb 6, 2012, 1:40:54 PM2/6/12
to sage...@googlegroups.com
On a (twice) related note.. I installed Sage 4.7 in my iMac and then forgot my LOCAL
password. :(

Is there ANY way I can change or recover THAT one ?

--Sage NEWBIE--

jjmc...@gmail.com

William Stein

unread,
Feb 6, 2012, 1:47:15 PM2/6/12
to sage...@googlegroups.com

The number of ways they could right now is truly scary. This will
change. I don't really want to post how on a public list.

-- William

Jason Grout

unread,
Feb 6, 2012, 1:48:53 PM2/6/12
to sage...@googlegroups.com
On 2/6/12 12:32 PM, kcrisman wrote:
>
>> There are "only" 80,264http://sagenb.orgaccounts. The number of
>> accounts grows at a rate of about 100-150/day.
>
> Yikes!
>
>> Can't we enable the "Forget password" link anyways, and have it work
>
> I'd like to forget some passwords, too.

The link is actually called "Forgot password", though I guess it should
have a question mark at the end to make it more clear.

Thanks,

Jason

kcrisman

unread,
Feb 6, 2012, 2:10:32 PM2/6/12
to sage-edu
Yes, I was just trying (and failing) to make a "cute" remark.

kcrisman

unread,
Feb 6, 2012, 2:12:51 PM2/6/12
to sage-edu


On Feb 6, 1:40 pm, John McNally <jjmcnall...@gmail.com> wrote:
> On a (twice) related note.. I installed Sage 4.7 in my iMac and then forgot
> my LOCAL
> password. :(
>
> Is there ANY way I can change or recover THAT one ?

Yes, this should be okay, assuming you're talking about the notebook
password and not your Mac password :)

See http://www.sagemath.org/doc/reference/sagenb/notebook/notebook_object.html,
in particular "reset". If you launch Sage from the command line, then
the part with "reset – boolean (default: False) if True allows you to
set the admin password. Use this if you forget your admin password."
should do what you need. If you have the app, you should be able to
get a command line from the icon in the bar at the top of the screen.

dimpase

unread,
Feb 6, 2012, 11:26:33 PM2/6/12
to sage...@googlegroups.com


On Tuesday, February 7, 2012 12:37:38 AM UTC+8, A. Jorge Garcia wrote:
Jason Grout <> wrote:
On 2/6/12 9:28 AM, Andrey Novoseltsev wrote:
> It seems that there is email field in users
> profile, can't it be used to reset the password?

We should have that feature; a big +1. Dan Drake worked a bit on also
using email to confirm account registration. In fact, if email address
is required (a setting in the notebook admin page), a "Forgot password"
link appears at the bottom of the login page (see sage.cs.drake.edu, for
example). I don't know how well it works, though. Of course, as
always, patches are welcome!

Should we require email addresses on sagenb.org?

Jason

Requiring email addresses could be a problem. Many schools block email clients. So, the student would not be able to confirm the email until they got home. Creating accounts the first day of class would be a hassle. It's so easy now. I say leave it the way it is!

sure enough an OpenID account is easier to deal with than a local account.

I'd rather try to require all new accounts on sagenb.org to be OpenID. For spammers it'd be more hassle to use.
On the other hand it would need a list of allowed OpenID providers...

Dima

John McNally

unread,
Feb 7, 2012, 12:47:48 AM2/7/12
to sage...@googlegroups.com
Many thanks .. that worked fine .. :)

My problem was that I had not previously tried a terminal session, had only used the notebook interface, in FireFox...so I was looking to start a command line session out of the browser, instead of the server...

We old folks get confused easily....

Again..thank you!

William Stein

unread,
Feb 7, 2012, 11:53:54 AM2/7/12
to sage...@googlegroups.com
On Mon, Feb 6, 2012 at 8:26 PM, dimpase <dim...@gmail.com> wrote:
>
>
> On Tuesday, February 7, 2012 12:37:38 AM UTC+8, A. Jorge Garcia wrote:
>>
>> Jason Grout <> wrote:
>>>
>>> On 2/6/12 9:28 AM, Andrey Novoseltsev wrote:
>>> > It seems that there is email field in users
>>> > profile, can't it be used to reset the password?
>>>
>>> We should have that feature; a big +1. Dan Drake worked a bit on also
>>> using email to confirm account registration. In fact, if email address
>>> is required (a setting in the notebook admin page), a "Forgot password"
>>> link appears at the bottom of the login page (see sage.cs.drake.edu, for
>>> example). I don't know how well it works, though. Of course, as
>>> always, patches are welcome!
>>>
>>> Should we require email addresses on sagenb.org?
>>>
>>> Jason
>>>
>> Requiring email addresses could be a problem. Many schools block email
>> clients. So, the student would not be able to confirm the email until they
>> got home. Creating accounts the first day of class would be a hassle. It's
>> so easy now. I say leave it the way it is!
>
>
> sure enough an OpenID account is easier to deal with than a local account.
>
> I'd rather try to require all new accounts on sagenb.org to be OpenID.

I'm seriously considering doing that. Then all issues of password
resets disappear, and I can
assume that any user has an account that has been verified by somebody else.

William

> For
> spammers it'd be more hassle to use.
> On the other hand it would need a list of allowed OpenID providers...
>
> Dima
>
>
>>
>> Thanx,
>> A. Jorge Garcia
>> Applied Math and CompSci
>> http://shadowfaxrant.blogspot.com
>> http://www.youtube.com/calcpage2009
>> Sent via DROID on Verizon Wireless
>

> --
> You received this message because you are subscribed to the Google Groups
> "sage-edu" group.

> To view this discussion on the web visit

> https://groups.google.com/d/msg/sage-edu/-/5pR6avMS-HwJ.


>
> To post to this group, send email to sage...@googlegroups.com.
> To unsubscribe from this group, send email to
> sage-edu+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sage-edu?hl=en.

--

Jason Grout

unread,
Feb 7, 2012, 12:00:44 PM2/7/12
to sage...@googlegroups.com
On 2/7/12 10:53 AM, William Stein wrote:
> On Mon, Feb 6, 2012 at 8:26 PM, dimpase<dim...@gmail.com> wrote:
>>
>>
>> On Tuesday, February 7, 2012 12:37:38 AM UTC+8, A. Jorge Garcia wrote:
>>>
>>> Jason Grout<> wrote:
>>>>
>>>> On 2/6/12 9:28 AM, Andrey Novoseltsev wrote:
>>>>> It seems that there is email field in users
>>>>> profile, can't it be used to reset the password?
>>>>
>>>> We should have that feature; a big +1. Dan Drake worked a bit on also
>>>> using email to confirm account registration. In fact, if email address
>>>> is required (a setting in the notebook admin page), a "Forgot password"
>>>> link appears at the bottom of the login page (see sage.cs.drake.edu, for
>>>> example). I don't know how well it works, though. Of course, as
>>>> always, patches are welcome!
>>>>
>>>> Should we require email addresses on sagenb.org?
>>>>
>>>> Jason
>>>>
>>> Requiring email addresses could be a problem. Many schools block email
>>> clients. So, the student would not be able to confirm the email until they
>>> got home. Creating accounts the first day of class would be a hassle. It's
>>> so easy now. I say leave it the way it is!
>>
>>
>> sure enough an OpenID account is easier to deal with than a local account.
>>
>> I'd rather try to require all new accounts on sagenb.org to be OpenID.
>
> I'm seriously considering doing that. Then all issues of password
> resets disappear, and I can
> assume that any user has an account that has been verified by somebody else.


+1.

Right now, we don't have a switch to require only OpenID logins, so we'd
have to do that somehow.

A huge plus of this is that passwords would no longer be transmitted
insecurely, if I understand things correctly.

Jason

William Stein

unread,
Feb 7, 2012, 12:08:24 PM2/7/12
to sage...@googlegroups.com

That's my understanding as well. It's really awesome.

Are there any other major websites that *require* openid? I wonder
what the drawbacks are?

-- William

>
> Jason


>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-edu" group.

Jason Grout

unread,
Feb 7, 2012, 12:16:34 PM2/7/12
to sage...@googlegroups.com
On 2/7/12 11:08 AM, William Stein wrote:

>> Right now, we don't have a switch to require only OpenID logins, so we'd
>> have to do that somehow.
>>
>> A huge plus of this is that passwords would no longer be transmitted
>> insecurely, if I understand things correctly.
>
> That's my understanding as well. It's really awesome.
>
> Are there any other major websites that *require* openid? I wonder
> what the drawbacks are?


Well, ask.sagemath.org requires it :).

Stackoverflow is another example. It appears that their "own" login
solution is just their own openid server.

Jason

Andrey Novoseltsev

unread,
Feb 7, 2012, 12:23:10 PM2/7/12
to sage-edu
On Feb 7, 10:00 am, Jason Grout <jason-s...@creativetrax.com> wrote:
>
> Right now, we don't have a switch to require only OpenID logins, so we'd
> have to do that somehow.
>
> A huge plus of this is that passwords would no longer be transmitted
> insecurely, if I understand things correctly.
>
> Jason

This would be wonderful, I don't think many users mind that someone
can look at their worksheets, but transmitting passwords insecurely is
very bad as they can be the same as for other accounts including
banking ones. Would it be possible to start new servers with OpenID
authorization out-of-the-box?

On the other hand, will encrypted authentication and unencrypted work
have the issue of "connecting to an open session"? As outlined here:
http://lifehacker.com/5672313/sniff-out-user-credentials-at-wi+fi-hotspots-with-firesheep

A somewhat related issue: can it be prohibited to see the list of
other users on the sharing screen? My university did not allow me to
create accounts for students automatically with their names as logins,
since nobody should be able to see who else is in the class and I
confessed that they might...

Thank you!
Andrey

dimpase

unread,
Feb 7, 2012, 7:00:31 PM2/7/12
to sage...@googlegroups.com
for our class (with local nb servers) we authenticate students using their university logins via LDAP.
(this hack has not made it into the sagenb source yet, but this is doable)
It strikes me as odd that this cannot be done in your and other similar cases.
(unless you talk about *sagenb.org accounts, not local server nb accounts)

Dima

 

Thank you!
Andrey

Jason Grout

unread,
Feb 7, 2012, 7:10:22 PM2/7/12
to sage...@googlegroups.com
On 2/7/12 11:23 AM, Andrey Novoseltsev wrote:
> A somewhat related issue: can it be prohibited to see the list of
> other users on the sharing screen? My university did not allow me to
> create accounts for students automatically with their names as logins,
> since nobody should be able to see who else is in the class and I
> confessed that they might...

This has been fixed in the new Sage notebook. For example, the list is
not available on *.sagenb.org.

Thanks,

Jason

Jason Grout

unread,
Feb 7, 2012, 7:12:14 PM2/7/12
to sage...@googlegroups.com
On 2/7/12 11:23 AM, Andrey Novoseltsev wrote:
> On Feb 7, 10:00 am, Jason Grout<jason-s...@creativetrax.com> wrote:
>>
>> Right now, we don't have a switch to require only OpenID logins, so we'd
>> have to do that somehow.
>>
>> A huge plus of this is that passwords would no longer be transmitted
>> insecurely, if I understand things correctly.
>>
>> Jason
>
> This would be wonderful, I don't think many users mind that someone
> can look at their worksheets, but transmitting passwords insecurely is
> very bad as they can be the same as for other accounts including
> banking ones. Would it be possible to start new servers with OpenID
> authorization out-of-the-box?

All you have to do with the new server is check a box in the notebook
settings page to turn on OpenID.


>
> On the other hand, will encrypted authentication and unencrypted work
> have the issue of "connecting to an open session"? As outlined here:
> http://lifehacker.com/5672313/sniff-out-user-credentials-at-wi+fi-hotspots-with-firesheep

Probably. If you want security, then use SSL on your server.

Thanks,

Jason

Reply all
Reply to author
Forward
0 new messages