+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 28
Thin Client and Virtual Machines Thread, Virtualbox - Remove network access in Technical; hi, we are looking at implemeting virtualbox to give the students an unrestricted environment on which to run programming tools ...
  1. #1

    Join Date
    Jan 2009
    Posts
    22
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Virtualbox - Remove network access

    hi,

    we are looking at implemeting virtualbox to give the students an unrestricted environment on which to run programming tools on the computing course thats starting here next year..

    all well so far but i need to be able to remove network access from the Virtualbox's and make it so the students cant re-enable it from the Virtualbox program as currently it gives them unrestricted access to our network..!

    i also need to maintain the ability to map a network drive to the virtualbox host to allow the students to transfer files between the vbox environment and the local drive..

    how has anyone else gone about this?

    Thanks in advance!

  2. #2

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,762
    Thank Post
    354
    Thanked 533 Times in 498 Posts
    Rep Power
    182
    Remove the virtual network card, and disable the config screen. Then use shared folders to directly map into VB, without network access.

    Steve

  3. #3
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,953
    Thank Post
    968
    Thanked 463 Times in 390 Posts
    Blog Entries
    12
    Rep Power
    95
    Cool thanks, I was wondering this also

  4. #4

    Join Date
    Jan 2009
    Posts
    22
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    how do you disable the configuration screen?

  5. #5

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,762
    Thank Post
    354
    Thanked 533 Times in 498 Posts
    Rep Power
    182
    Chapter9.Advanced topics

    Basically pick which options you want to lockdown, run the command and it'll refuse to let them in that section, or if you lock down the entire settings won't load that up

    Can also disable all shortcuts, snapshot keys, in VM menus etc

    Steve

  6. #6

    Join Date
    Jan 2009
    Posts
    22
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    so i should be using the following command?

    VBoxManage setextradata global GUI/RestrictedGlobalSettingsPages OPTION[,OPTION...]

    like this..

    VBoxManage setextradata global GUI/RestrictedGlobalSettingsPages OPTION[,NETWORK...]

    ?

    which appears to run from the command line and gives no errors.. but doesnt remove the network settings when i re-open virtualbox =(

  7. #7

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,762
    Thank Post
    354
    Thanked 533 Times in 498 Posts
    Rep Power
    182
    The "options" needs to be the actual things. noSelector won't let the whole settings page open.

    e.g.
    Code:
    VBoxManage setextradata global GUI/Customizations noSelector,noMenuBar,noStatusBar
    or I guess for your example

    Code:
    VBoxManage setextradata global GUI/RestrictedGlobalSettingsPages Network
    But haven't tried that one before

    Edit - OPTION[,OPTION...] <- Just says put an option, and if you want more put commas

    Steve
    Last edited by Steve21; 5th July 2013 at 03:00 PM.

  8. #8

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,664
    Thank Post
    1,484
    Thanked 1,263 Times in 857 Posts
    Rep Power
    803
    Quote Originally Posted by spacehopper View Post
    so i should be using the following command?

    VBoxManage setextradata global GUI/RestrictedGlobalSettingsPages OPTION[,OPTION...]

    like this..

    VBoxManage setextradata global GUI/RestrictedGlobalSettingsPages OPTION[,NETWORK...]

    ?

    which appears to run from the command line and gives no errors.. but doesnt remove the network settings when i re-open virtualbox =(
    Generally in CLI instructions, ALL CAPS denotes an option that must be passed (so not the word OPTION, but one of the options you want to configure) and text in square brackets are optional extra arguments, though you don't put them in square brackets. So, assuming you have the NETWORK part right, it'd just be:

    Code:
    VBoxManage setextradata global GUI/RestrictedGlobalSettingsPages NETWORK
    though I suspect it'll be a bit more verbose than that...
    Just read the page @Steve21 linked to and it appears the above would work (although you may have to change the last part simply to "Network" as sometimes these things are case-sensitive), also - @Steve21 you beat me to it
    Last edited by LosOjos; 5th July 2013 at 03:04 PM.

  9. #9

    Join Date
    Jan 2009
    Posts
    22
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    tried..

    VBoxManage setextradata global GUI/RestrictedGlobalSettingsPages NETWORK

    and

    VBoxManage setextradata global GUI/RestrictedGlobalSettingsPages Network

    but it doesnt seem to have worked as i can still access the network settings of the VM's

  10. #10

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,664
    Thank Post
    1,484
    Thanked 1,263 Times in 857 Posts
    Rep Power
    803
    You are closing down all VMs and Virtual Box Manager before you run the CLI commands, aren't you?

  11. #11

    Join Date
    Jan 2009
    Posts
    22
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    yup..

    its running on 64bit win7 too if that makes any difference..

    and the default location for the saved VM's is on the D drive rather than c..

  12. #12

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,762
    Thank Post
    354
    Thanked 533 Times in 498 Posts
    Rep Power
    182
    Quote Originally Posted by spacehopper View Post
    yup..

    its running on 64bit win7 too if that makes any difference..

    and the default location for the saved VM's is on the D drive rather than c..
    How are you accessing the network settings, as this is only via the main global selector page remember?

    Have you tried my line above, just to check to see if it's not working at all, or whether it's just that command?

    Steve

  13. #13

    Join Date
    Jan 2009
    Posts
    22
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    accessing network settings by opening virtualbox.. and then selecting the network settings on each VM (currently have 2VMS)

    im also able to access the global network settings via file, preferences, network

    just tried..

    VBoxManage setextradata global GUI/Customizations noSelector

    and that threw up an error on launching virtualbox that said..

    cannot run virtualbox in vmselectormode due to local restrictions the application will now terminate..

  14. #14

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,664
    Thank Post
    1,484
    Thanked 1,263 Times in 857 Posts
    Rep Power
    803
    Quote Originally Posted by spacehopper View Post
    just tried..

    VBoxManage setextradata global GUI/Customizations noSelector

    and that threw up an error on launching virtualbox that said..

    cannot run virtualbox in vmselectormode due to local restrictions the application will now terminate..
    That sounds like the correct behaviour to me - you should only be able to launch a VM directly, not through the manager.

    Seems there may be an issue with the option you're trying to set... I'll give it a go on my home machine later - it's W8x64 but if it doesn't work then at least we know it's VirtualBox that's the issue.

  15. #15

    Join Date
    Jan 2009
    Posts
    22
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    even more baffling..

    ive just tried it on my 32bit win7 machine..

    and the

    VBoxManage setextradata global GUI/RestrictedGlobalSettingsPages Network

    works... in that it removes the network settings in file, preferences..

    but, if i create a VM i can access its individual network settings through virtualbox manager..

    would i be better off looking at creating individual VM's for them to access separately without going through (and also disabling) the virtualbox manager?

    and then remove each VM's network access on a VM by VM basis?



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. 3Com wireless network access points?
    By tosca925 in forum Wireless Networks
    Replies: 12
    Last Post: 13th July 2010, 04:58 PM
  2. Replies: 16
    Last Post: 24th July 2009, 11:49 PM
  3. Network Access Control Solutions
    By Simcfc73 in forum Network and Classroom Management
    Replies: 5
    Last Post: 23rd October 2007, 02:37 PM
  4. MySQL Network access
    By _Bob_ in forum *nix
    Replies: 5
    Last Post: 6th April 2006, 02:30 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •