Ask Your Question

em2slyn's profile - activity

2019-07-03 15:56:25 +0200 received badge  Taxonomist
2018-03-11 00:10:05 +0200 received badge  Popular Question (source)
2013-06-10 21:24:54 +0200 asked a question browser settings

Hi Folks:

I would like to know where I would configure browser settings for the user on a Sage server.

I built a Sage server for students to use at school (Sage 5.9 on Ubuntu Server 12.04.2 x64). While building the system, I was comparing the browser behavior (using Firefox 21.0 w/ Java Platform SE 7 & Deployment Toolkit) to the public Sage server at sagenb.org (Sage 5.4). I noticed a couple of differences: First, when a new worksheet is made, the sagenb.org site displays the new worksheet in the same tab whereas the home-built server opens another tab for the worksheet. Second, when a plot is created, the sagenb.org site automatically renders it interactively whereas the home-built server renders a static image first with an interactive button.

Are these differences a result of different Sage versions? Are there other settings? Can these setting be changed? If so, where are they located and are they documented? Thanks!

Have a GREAT DAY!!

Shaun

2013-06-10 11:15:00 +0200 answered a question Securing a Sage Server

Thank you for the response. I've read a little about this option and will be looking at it more.

I also found another alternative that answers my own question for those looking for a secure Sage server without the reverse proxy. Here are the steps: First, install pyopenssl spkg and set secure=True in the notebook parameters. Next, set interface='' (two single quotes) to listen on all available interfaces (localhost and physical) and uninstall HAProxy so the Sage server has a direct connection to the network. I added the iptables rule "iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8080" as described in the Setting Up a Sage Server article to redirect HTTPS requests to the Sage server and opened ports 443 and 8080 in the firewall. So far the Sage server seems to be working with full HTTPS. Hopefully these steps help someone else who is trying to do something similar.

Have a GREAT DAY!!

Shaun

2013-06-10 10:51:44 +0200 received badge  Nice Question (source)
2013-06-08 23:47:29 +0200 received badge  Student (source)
2013-06-08 12:12:18 +0200 asked a question Securing a Sage Server

Hi Folks:

I am looking for a procedure on how to secure a Sage server and could use some expertise.

I built a Sage server based on the instructions provided in the Wiki article, Setting Up a Sage Server (Sage 5.9 on Ubuntu Server 12.04.2). I've disabled self registration and add users through the command line so that accounts and passwords can be distributed to those who need access prior to their initial sign in. My understanding is that when users login, passwords are sent in the clear using the default configuration. Since I'd like students to have access outside of school, securing the Sage server would be a prudent step.

I'm using HAProxy as the reverse proxy server and would like to secure the user logins using SSL. I've been searching the web to find some guides but with limited success. Does anyone know of any websites that I could use as reference or have a procedure that would help walk through the process of preparing OpenSSL, setting up HAProxy, and configuring Sage?

I'm building this so students at our school can use this in their classes. Any help would be appreciated. Thanks!

Have a GREAT DAY!!

Shaun