services:labtest:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:labtest:start [2025/01/27 11:13] – [eClass Quiz] jas | services:labtest:start [2025/03/05 03:46] (current) – [3. Allow Access To Your eClass Quiz ID In Labtest Mode] jas | ||
---|---|---|---|
Line 247: | Line 247: | ||
restrict list List labtest URL restrictions (including line numbers) | restrict list List labtest URL restrictions (including line numbers) | ||
restrict add < | restrict add < | ||
- | restrict eclass | + | restrict eclass |
restrict delete < | restrict delete < | ||
restrict edit Edit labtest restrictions | restrict edit Edit labtest restrictions | ||
Line 261: | Line 261: | ||
labtest> restrict add -www.w3schools.com/ | labtest> restrict add -www.w3schools.com/ | ||
- | To allow access to eClass Quiz/VPL: | + | (*) To allow access to eClass Quiz/VPL, please read the following web page: |
- | labtest> restrict eclass | + | https:// |
- | NOTE: Running an eClass | + | *** Don't forget - ALWAYS test your eClass |
- | to this URL for further instructions: | + | |
- | + | ||
- | | + | |
</ | </ | ||
- | By default, labtest doesn' | + | By default, labtest doesn' |
+ | |||
+ | * https:// | ||
+ | |||
+ | For eClass specific restrictions, | ||
- | https:// | + | * https:// |
- | Labtest restrictions are entirely optional | + | Labtest restrictions are entirely optional. |
===== Labtest Submit ===== | ===== Labtest Submit ===== | ||
Line 318: | Line 319: | ||
# < | # < | ||
#version: < | #version: < | ||
- | MM/ | + | MM/ |
- | MM/ | + | MM/ |
</ | </ | ||
Line 328: | Line 329: | ||
* HH:MM - hour:minute hour of your test (note that this is impacted by the next field) | * HH:MM - hour:minute hour of your test (note that this is impacted by the next field) | ||
* M - number of minutes of warnings to send to students before system will reboot (usually 5) - NOTE: If M=5, machines will REBOOT at HH:MM + 5 MIN, NOT at HH:MM | * M - number of minutes of warnings to send to students before system will reboot (usually 5) - NOTE: If M=5, machines will REBOOT at HH:MM + 5 MIN, NOT at HH:MM | ||
- | * <HOSTSPEC> - lets us know which hosts you want to book. < | + | * HOSTSPEC - lets us know which hosts you want to book. < |
* individual machines separated by commas: ea01, | * individual machines separated by commas: ea01, | ||
* groups of machines: | * groups of machines: | ||
Line 380: | Line 381: | ||
</ | </ | ||
- | If you have students with different accommodations for extra time, please submit a **separate** block for each accommodation type. Here's the same booking request above with 5 machines getting an extra hour, 2 machines getting 30 minutes extra, and 1 machine getting | + | If you have students with different accommodations for extra time, please submit a **separate** block for each accommodation type. Here's the same booking request above with 5 machines getting an extra hour, 2 machines getting 30 minutes extra, and 1 machine getting |
< | < | ||
Line 422: | Line 423: | ||
</ | </ | ||
- | ... or you can create one long session 9:00 AM - 11:00 AM, but you will have to clear the lab manually between sessions yourself: | + | ... or you can create one long session 9:00 AM - 1:00 PM, but you will have to clear the lab manually between sessions yourself: |
< | < | ||
Line 949: | Line 950: | ||
====== Accessing External Hosts In Labtest (optional) ====== | ====== Accessing External Hosts In Labtest (optional) ====== | ||
- | Your labtest may require students to access external websites. | + | Your labtest may require students to access external websites. |
- | With host level access control, you can give your labtest access to specific websites such as www.w3schools.com. | + | With host level access control, you can give your labtest access to specific websites such as https://www.w3schools.com. |
- | Create | + | Let's say you're teaching |
- | For example, if you're teaching a course EECS9999, and you want students in your labtest to be able to access | + | **Setup With Labtest Assistant** |
+ | |||
+ | From within Labtest Assistant, use the "restrict" | ||
+ | |||
+ | < | ||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com inserted. | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction validator.w3.org inserted. | ||
+ | </ | ||
+ | |||
+ | You can use "restrict edit" to edit the restriction list in a text editor, or " | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | If you are setting | ||
< | < | ||
Line 969: | Line 988: | ||
</ | </ | ||
- | Please note that if the web site you are trying to access includes links to other sites that you want to work, or includes files from other sites (eg. css style file or font file), then you may need to add additional entries to your labtest.allow file. Contact tech for assistance. | + | **Please note that if the web site you are trying to access includes links to other sites that you want to work, or includes files from other sites (eg. css style file or font file), then you may need to add additional entries to your labtest.allow file. Contact tech for assistance.** |
- | Labtest also makes it possible to implement partial access to a website. | + | Labtest also makes it possible to implement partial access to a website. |
- | Now, if you try to visit anything but " | + | **Setup with Labtest Assistant** |
- | However, you will also notice that the page doesn' | + | From within Labtest Assistant, use the " |
+ | |||
+ | < | ||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | | ||
+ | </ | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | Add " | ||
+ | |||
+ | Now, during your labtest, if you try to visit anything but " | ||
+ | |||
+ | However, you will also notice that the page doesn' | ||
+ | |||
+ | **Setup with Labtest Assistant** | ||
+ | |||
+ | Once again, use the restrict command: | ||
+ | |||
+ | < | ||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | Add " | ||
< | < | ||
Line 983: | Line 1044: | ||
</ | </ | ||
- | Now, let's say there' | + | Now, let's say there' |
+ | **Setup with Labtest Assistant** | ||
+ | |||
+ | Again, use the restrict command: | ||
< | < | ||
- | -www.w3schools.com/ | + | Labtest (9999) [labtest1] |
+ | |||
+ | Restriction -www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | 1 www.w3schools.com/ | ||
+ | | ||
+ | | ||
+ | | ||
</ | </ | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | Add the following rule to labtest.allow: | ||
+ | |||
+ | -www.w3schools.com/ | ||
NOTE: Rejected URL fragments are processed before accepted URL fragments. | NOTE: Rejected URL fragments are processed before accepted URL fragments. | ||
Line 993: | Line 1072: | ||
A few important notes: | A few important notes: | ||
- | 1) For every website that students needs to be able to access during labtest, you must specify the website name in the labtest.allow file. You may include just the website name (in which case all URLs on that site will work), or you may include the URLs on that website that you want to be accessible. | + | 1) For every website that students needs to be able to access during labtest, you must either use " |
2) All external pages are rejected by default. | 2) All external pages are rejected by default. | ||
Line 1003: | Line 1082: | ||
5) Always test your labtest in ltcloud every single time! Just because your labtest.allow rules work for one test doesn' | 5) Always test your labtest in ltcloud every single time! Just because your labtest.allow rules work for one test doesn' | ||
- | ==== eClass | + | ====== Accessing External Hosts In Labtest (eClass |
- | Now that you've seen a basic example of how to restrict access to specific URLs in labtest, let's look at one additional example - eClass. | + | eClass is the name of the Moodle-based Learning Management System (LMS) used at York University. |
- | + | ||
- | eClass is the name of the Moodle-based Learning Management System (LMS) used at York University. | + | |
* Students can upload files to eClass under " | * Students can upload files to eClass under " | ||
Line 1014: | Line 1091: | ||
* Students have access to eClass communication and can chat with other students. | * Students have access to eClass communication and can chat with other students. | ||
- | 1. Let's start by securing eClass with a labtest.allow file. | + | In this section, we will configure |
- | If your labtest.allow file only includes " | + | ===== 1. Allow Lab Machines Limited Access To eClass In Labtest Mode ===== |
- | * Automatically restrict user access | + | First, you need to allow the lab machines limited |
- | * Automatically restrict user access to eClass | + | |
- | However, there are still problems: | + | If you're using Labtest Assistant, use the " |
- | * Students will not be able to view images attached to quiz questions because eClass caches these on an external site which hasn't been allowed: dm7crvy4e45rz.cloudfront.net | + | < |
- | * Students would still be able to access eClass pages for any courses to which they are enrolled. | + | labtest> restrict eclass |
+ | </ | ||
- | This labtest.allow file is best for eclass use because it resolves | + | If you're not using Labtest Assistant, you need to create a labtest.allow file in your labtest directory which includes |
- | | + | < |
- | eclass.yorku.ca/ | + | eclass.yorku.ca/ |
- | eclass.yorku.ca/ | + | eclass.yorku.ca/ |
- | eclass.yorku.ca/ | + | eclass.yorku.ca/ |
- | -eclass.yorku.ca/ | + | eclass.yorku.ca/ |
- | eclass.yorku.ca/ | + | eclass.yorku.ca/ |
- | eclass.yorku.ca/ | + | eclass.yorku.ca/local |
- | eclass.yorku.ca/ | + | eclass.yorku.ca/ |
- | eclass.yorku.ca/ | + | eclass.yorku.ca/ |
- | eclass.yorku.ca/ | + | dm7crvy4e45rz.cloudfront.net |
- | eclass.yorku.ca/ | + | eclass.yorku.ca/ |
- | | + | eclass.yorku.ca/ |
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | </ | ||
- | Now, if you provide a specific quiz URL in your labtest start page, students will be able to login to eClass, and access that quiz, but they won't be able to access course pages, forums, private files, or eclass communications. | + | ===== 2. Determine Your eClass Quiz URL ===== |
- | As a side note, if you wish to use additional functionality in eClass | + | Visit your eClass |
- | | + | You can also get this link in eClass if you go to: Activities >> Quizzes then hover your mouse over your quiz. |
- | vpl1.eecs.yorku.ca | + | |
+ | ===== 3. Allow Access To Your eClass Quiz ID In Labtest Mode ===== | ||
+ | |||
+ | If you're using Labtest Assistant, use the following command to allow access your eClass quiz in labtest: | ||
+ | |||
+ | < | ||
+ | labtest> restrict add eclass.yorku.ca/ | ||
+ | </ | ||
+ | |||
+ | Replace ID with your eClass Quiz ID. | ||
+ | |||
+ | If you're not using Labtest Assistant, add the following line to the end of your labtest.allow file in your labtest directory: | ||
+ | |||
+ | < | ||
+ | eclass.yorku.ca/ | ||
+ | </ | ||
+ | |||
+ | Replace ID with your eClass Quiz ID. | ||
Ensure that the labtest.allow file is readable: < | Ensure that the labtest.allow file is readable: < | ||
- | 2. Your labtest start page (eg. / | + | ===== 4. Provide a Link to Your eClass Quiz in Your Labtest Start Page ===== |
+ | |||
+ | Your labtest start page (eg. / | ||
+ | |||
+ | If you're using Labtest Assistant, open your labtest start page using the " | ||
+ | |||
+ | < | ||
+ | Click <a href="https:// | ||
+ | </ | ||
+ | |||
+ | If you're not using Labtest Assistant, open the index.html file in your labtest directory, and add the link manually. | ||
**IMPORTANT** If students try to access " | **IMPORTANT** If students try to access " | ||
- | 3. Restrict access to your eclass | + | ===== 5. Restrict IP Addresses Which Can Access Your eClass Quiz From Within eClass ===== |
+ | |||
+ | Login to eClass. Restrict access to your eClass | ||
^Lab Location^IP Restriction^ | ^Lab Location^IP Restriction^ | ||
Line 1072: | Line 1183: | ||
* If your test is being conducted in several labs, you can join two IP ranges with a comma in between them. Note though that if the number of IP ranges separated by commas exceeds 18, the IP restrictions will not function correctly due to an eClass bug. Please consult with tech to test your IP range prior to your test. | * If your test is being conducted in several labs, you can join two IP ranges with a comma in between them. Note though that if the number of IP ranges separated by commas exceeds 18, the IP restrictions will not function correctly due to an eClass bug. Please consult with tech to test your IP range prior to your test. | ||
- | 4. Limit the start and end time of your quiz in eclass. If you don't do this, then students on the lab machines will be able to access your quiz **before** your labtest! | + | ===== 6. Limit the Start and End Time of Your Quiz in eClass ===== |
+ | |||
+ | You will need to limit the start and end time of your quiz in eClass. If you don't do this, then students on the lab machines will be able to access your quiz **before** your labtest! | ||
- | NOTE: Some faculty would like to use eclass " | + | Final Notes: |
- | ** Always test your eClass quiz using ltcloud! | + | * Some faculty would like to use eClass " |
+ | * If you're using VPL, you'll need to allow access to the following URL fragments with either " | ||
+ | * eclass.yorku.ca/ | ||
+ | * vpl1.eecs.yorku.ca | ||
+ | * **Always test your eClass quiz using ltcloud! | ||
====== SecureQ Setup (optional) ====== | ====== SecureQ Setup (optional) ====== | ||
Line 1465: | Line 1582: | ||
Access the Labtest Cloud URL here: | Access the Labtest Cloud URL here: | ||
- | * https:// | + | * https:// |
+ | |||
+ | The best way to access ltcloud is directly from a web browser when you are connected to [[https:// | ||
+ | If you want to access LTCloud directly from your home PC, you can use [[https:// | ||
- | Note that if you are accessing this URL from a non-EECS IP address (such as from home), you must be connected to [[https:// | ||
- | |||
After connecting to the Labtest Cloud URL, you will be required to authenticate with your EECS username and password. | After connecting to the Labtest Cloud URL, you will be required to authenticate with your EECS username and password. | ||
services/labtest/start.1737994435.txt.gz · Last modified: 2025/01/27 11:13 by jas