Jump to content

Recommended Posts

Posted

Hi All,

 

Just looking at our new image and how are other schools deploying python for coding lessons are you using a virtual machine, raspberry pi or with the software installed or locally on the PC. Just thinking about the security.

 

Thanks in advance

Posted

Thanks for the suggestion. I have talked to our ICT teacher and he has said that the students wont be able to use this for the exam work as they are not allowed any internet access at all, even if we only allow the one website.

 

Thanks

Posted

Using VirtualBox here, with immutable, non-networked VMs. Don't let users run Python code directly on your PCs. As well as the security risk, it's also a pain if they run prank code that endlessly spawns calc.exe or something. The ungraceful shutdowns that result from that stuff will make work for you. If that happens in an immutable VM, it's not going to bring the host down or cause anyone else any bother. Just restart the guest.

 

We use the local folders feature of VirtualBox to make students' user folders available to them in the VM. This gives them somewhere to save their work outside of the VM, even though the guest system itself has no network connectivity. The VirtualBox GUI is locked down for students, to prevent them adding network connections or their own VMs.

  • Thanks 2
Posted
Thanks for the suggestion. I have talked to our ICT teacher and he has said that the students wont be able to use this for the exam work as they are not allowed any internet access at all, even if we only allow the one website.

 

Thanks

 

I think they aren't reading the criteria correctly there.

Plus, are they literally coding in exam conditions? I'm pretty sure they're not treating exams like a speed coding competition. Surely the coding part is delivered as coursework?

Posted

It is entirely possible to create a replit.com instance for students under exam conditions using a tool like ChromEx to do so.

 

Though the idea of speed coding in an exam is a farce, frankly.

  • 3 weeks later...
  • 2 months later...
Posted
I like replit.com but for an annual cost compared to using a virtualbox image, I will go with the work it entails with the latter. Although I find the staff unappreciative of the savings my hard work as made for them!
Posted
Using VirtualBox here, with immutable, non-networked VMs. Don't let users run Python code directly on your PCs. As well as the security risk, it's also a pain if they run prank code that endlessly spawns calc.exe or something. The ungraceful shutdowns that result from that stuff will make work for you. If that happens in an immutable VM, it's not going to bring the host down or cause anyone else any bother. Just restart the guest.

 

We use the local folders feature of VirtualBox to make students' user folders available to them in the VM. This gives them somewhere to save their work outside of the VM, even though the guest system itself has no network connectivity. The VirtualBox GUI is locked down for students, to prevent them adding network connections or their own VMs.

 

Same here. Been using Virtualbox for years now. I remember one morning I brought the network to a standstill when I deployed a 35GB Windows 7 Python image to 8 computers. Thought if I started early I would avoided the peak logons. Big no-no. Anyhow its the safest way to sandbox and have complete control of computers for coding in a school. The RM blueprint for Virtualbox has been a lifesaver for me. Still using it. All my deployments are from a shared image off the server.

Posted

@WhiteStar1 @jthompson

 

Just wondered if either of you could PM me some instructions, hints/tips on how you went about setting up this kind of configuration? Would be appreciated, as I've looked at (and budgeted for) replit.com and thought great, however Computing department claim otherwise... :ohwell:

 

Thanks,

Posted
@WhiteStar1 @jthompson

 

Just wondered if either of you could PM me some instructions, hints/tips on how you went about setting up this kind of configuration? Would be appreciated, as I've looked at (and budgeted for) replit.com and thought great, however Computing department claim otherwise... :ohwell:

 

Thanks,

 

PM sent :)

  • Thanks 1
  • 1 month later...
Posted
@WhiteStar1 @jthompson

 

Just wondered if either of you could PM me some instructions, hints/tips on how you went about setting up this kind of configuration? Would be appreciated, as I've looked at (and budgeted for) replit.com and thought great, however Computing department claim otherwise... :ohwell:

 

Thanks,

 

PM sent

  • Thanks 1
  • 3 months later...
Posted

Good morning, I am also facing some issues with python. We have blocked the IDLE version but computing staff wanted us to deploy MU, as the GUI version didn't offer full functionality. But we found yesterday that students could run programs via cmd by using the python command 'import os'. We have obviously blocked 'Do not allow access to command prompt', but the command will run and then it displays 'command prompt has been blocked by your administrator' which is useless.

 

Therefore I was hoping that @WhiteStar1 or @jthompson could also share a guide about how to to create a VM for use with python, etc? Or if anyone else for that matter has any information it would be much appreciated.

 

Thanks a lot

Posted
But we found yesterday that students could run programs via cmd by using the python command 'import os'. We have obviously blocked 'Do not allow access to command prompt', but the command will run and then it displays 'command prompt has been blocked by your administrator' which is useless.

 

What kind of commands are they running?

 

Most built-in .exe’s can be run from the start menu or shortcuts unless blocked by SRP/AppLocker anyway.

 

Do you have ‘Disable the command prompt script processing also?’ enabled too?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...