Download files without browser

expand collapsive

Hello!

Our organization has recently implemented app whitelisting on our Macs to make them dedicated for specific tasks. This has improved security and made things smoother, but we are facing an issue with users needing to download specific files.

Allowing general browser access for downloading files is not feasible due to security concerns. So, we’re looking for other options to let users download necessary files without using a browser.

Could you tell us if Hexnode has any possible workaround, allowing the users to download the required files without the need for a browser?

All Replies

  • Hey @nancy !

    Thank you for getting in touch!

    Hexnode UEM facilitates remote access to Mac terminals through its live terminal

    feature. With this feature, you can execute commands on your enrolled devices directly from the Hexnode portal. You can use the live terminal to download specific files onto your devices. Simply provide the file’s URL and specify the desired storage location on the device.

    Please execute the command below in the live terminal to download the desired files onto your Mac:

    sudo curl -o </path/to/save/the/file/filename>

    For example:

    If you wish to download a certificate to a specific location on the device, execute the following command.

    sudo curl https://cacerts.digicert.com/DigiCertTLSRSA4096RootG5.crt.pem -o /Users/Peter/Desktop/Certificate.crt.pem

    Additionally, for downloading files onto multiple Macs simultaneously, you can deploy a bash script using Hexnode’s Execute Custom Script remote action feature.

    #!/bin/bash
    #Switch to the /tmp directory
    cd /tmp
    #Download the file
    curl -k [DOWNLOAD_URL] -o "[FILE_NAME]"

    Replace [FILE_NAME] with the name of file and [DOWNLOAD_URL] with the server URL containing the file. After running the script, the file will be downloaded to the device’s /tmp directory.

    To access the downloaded files, follow the below steps:

    1. Open Finder.
    2. Go to the Finder menu and select Go, then click on Go to Folder.
    3. Enter /tmp in the dialog box and press Enter.
    4. You’ll find your downloaded files there.

    I hope this will assist in resolving the issue. Please don’t hesitate to reach out if you have any further queries or concerns.

    Best regards,
    Ben Clarke
    Hexnode UEM