#7635: notebook -- make it trivial for any user to restrict the notebook server
to
only listen on certain subdomain
---------------------------+------------------------------------------------
Reporter: was | Owner: was
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.3
Component: notebook | Keywords:
Work_issues: | Author: William Stein
Upstream: N/A | Reviewer: Dan Drake
Merged: |
---------------------------+------------------------------------------------
Changes (by newvalueoldvalue):
* status: needs_review => needs_work
* reviewer: => Dan Drake
* author: => William Stein
Comment:
The code here is simple, and ipaddr.py will be in Python 2.7 and is (I
think) in Python 3.1, so we can drop that later. The only thing I'm
worried about now is something that confused me when testing this -- you
have to specify {{{address=''}}} ''in addition to'' {{{subnet=[...]}}}.
That strikes me as confusing -- they seem to be saying the same thing.
Of course, if you read carefully and understand networking, they're not --
{{{address}}} refers to a network ''interface''. So perhaps we can change
{{{address}}} to {{{interface}}}, but continue accepting {{{address}}} for
backwards compatibility? Something like this in the docstring:
{{{
- ``interface`` -- (default: 'localhost'), address of
network
interface to listen on; give '' to listen on all interfaces.
You may
use ``address`` here for backwards compatibility, but this
is deprecated
and will be removed in the future.
}}}
along with a warning issued when {{{notebook()}}} gets an {{{address=}}}
keyword.
Or, we could have {{{subnets}}} imply {{{address=''}}}.
This will be a positive review once this small issue is sorted out.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7635#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.