design – Prevents users from downloading resources from the developer console

I have a web application that allows users to view our data, which the front end gets in JavaScript through a restful request to the back end and then renders in the application. The size of the individual data can be between a few KB and 500 MB, most of which are around 100 MB.

Depending on requirements, this data is only for viewing and should therefore not be downloaded by the user.

From everything I've researched, there is no ultimate way to prevent a user from getting the data, but rather to increase the difficulty. The idea is therefore to make it difficult for a user to download the data, at least not so easily via developer consoles.

I think applying symmetric encryption to the file, AES-128 seems like a good choice, but that means that a key must be hidden in JavaScript that is easy for users to find.

This is the question of whether symmetric encryption is useful for my problem. What other disadvantages or security gaps would result from this?

In general, what is an appropriate way to prevent or make it difficult for users to download restful resources?

Streaming – how a console is streamed to the network

I have a Linux server and I want to stream the first four consoles (TTY1, TTY2, TTY3, TTY4) where I have different tails to the network with my log files so that I can receive the stream the way I do get a webcam on my network.

The reason is that my NVR device can split the screen into 4 and display 4 log files or even 16 log files at the same time.

I've found several solutions to stream a media file, but none to stream the console.

★ JetBackup for cPanel ★ JetBackup for Linux ★ JetBackup management console ★ JetBackup WHMCS module

JetBackup for cPanel is the fastest growing cPanel backup software in the industry! It offers you the possibility to create an unlimited number of backup jobs and to adapt each job to your requirements. Provide your customers with all the functions they need to back up and restore their own cPanel accounts!

  • User friendly GUI

    Our AngularJS user interface is equipped with backup and restore wizards to make your life easier. A quick look at the dashboard gives you important information to assess the status of your backups.


    You can create multiple schedules and attach them to the same backup job. JetBackup is even smart enough to know when two schedules overlap, so only one copy is saved to save space!


    You can now create custom hooks that can be run either before or after a specific function on the server, such as B. Backup, restore, daily cron job and more!


    You now have your own section in JetBackup where you can create custom account filters for backup jobs that can be included and excluded based on the following criteria: account name, storage space, inode usage, blocked accounts, resellers, cPanel package and more !


    JetBackup is now equipped with a robust API with over 40 call functions, which makes integration into third-party software child's play!

  • GDPR mode with encrypted backups

    With activated GDPR mode you are on the best way to become GDPR compliant. You can not only give your customers the opportunity to create encrypted backups, but also use the automatic "right to be forgotten" function in their cPanel control panel!


    A DR clone is an extremely intelligent cPanel migration. You can not only set up a recurring schedule, but also an incremental one – ie all future migrations will only be copied over new or changed data!


    "Incremental backups at specific times" We use as little storage space as possible (using hard links) to secure your accounts! A 14-day backup rotation of a 2 GB cPanel account consumes only 2 GB + 14 days of new / changed files!


    Put the backup process in LVE. We tested it on crowded servers during peak hours and it was barely noticeable (it costs backup time as it runs slower – but well worth the effort). You don't have a CloudLinux yet? You can continue to optimize the backup process with the rsync I / O limit and reset priorities using NICE & RENICE.


    Self-recovery GUI for resellers (WHM) and cPanel users! Full account recovery, single file recovery, file / backup download, email recovery, database recovery, cron job recovery, SSL certificate recovery. This significantly reduces the support tickets!


    Schedule any number of backup jobs for multiple supported backup targets! Local backups, remote SSH, remote FTP, Amazon S3, Dropbox Google Drive, Rsync, Backblaze and MORE!



  • MULTIPLE JOBS (2X faster backup jobs!)

Try ALL of our products:

JetBackup for cPanel ~ $ 5.95 / month

cPanels Preferred Server backup software

JetBackup for Linux ~ $ 5.95 / month

No control panel? No problem

JetBackup Management Console ~ $ 19.95 / month

Manage all of your servers in one easy-to-use interface

JetBackup WHMCS module ~ $ 19.95 / month

— Start selling backup services today! —


Unconvinced? Install JetBackup for cPanel or JetBackup for Linux and get an automatically activated 10-day FREE trial!

Simple Tip Calulcator with the JavaScript Console app

Simple console tip calculator app in JavaScript. It has some problems, but I would like feedback on how to improve my code. Thank you in advance.

Source code:

    const headerMessage = ()=> {
       console.log('Tip Calculator')

//service quality
const serviceQuality = (billEntered,userOption ) => {
      case 1:
        console.log(billEntered * 0.3)
      case 2:
       console.log(billEntered * 0.2)
      case 3:
       console.log(billEntered * 0.1)
      case 4:
        console.log(billEntered * 0.05)

const tipCalulcator = () => {
  const enterBill = prompt('Please tell me bill amount: $ ');
  console.log(`Bill amount was $ ${enterBill}`)
   console.log(`How was your service ? Please enter number of the options`)
  const enterOption = prompt(`  1) Outstanding (30%) 
  2) Good (20%)
  3) It was ok (10%)
  4) Terrible (5%)`)

  const result = serviceQuality(enterBill, enterOption);


The Drupal console cannot find the site core and only displays a reduced list of commands

I always get a running Drupal console

drupal8prototyp-web:/var/www/html/web$ drupal list --uri=

Drupal Console Launcher version 1.9.4

 [ERROR] Class DrupalCoreDrupalKernel does not exist.   

and then comes the list of commands. But they don't show things like generate:module

I've already tried the –root and –site_uri flags, but they don't change anything.

The page works and the Drush status says

Enter image description here

Extract a substring from a string without using the library function.[C# Console Application]

My solution to question 13 at

        Console.Write("Please enter your word : ");
        string word = Console.ReadLine();

        Console.Write("Starting position : ");
        int start = Convert.ToInt32(Console.ReadLine());

        Console.Write("Number of letters : ");
        int numberOfLetters = Convert.ToInt32(Console.ReadLine());

        int x = word.Length - numberOfLetters;

        int end = word.Length - x;

        for (int counter = start; counter <= end; counter++)


Bitcoin core – BTC-QT synchronization, but too long / dumpwallet debug console problems

I want to transfer my BTC-QT wallet to Electrum, but I'm having trouble.

My node is currently being synced

Tried to empty addresses and was successful, but there are more coins in my BTC-QT wallet.

I want to throw my entire wallet in electrum, but I have problems with the debug console.

Is it because I'm still syncing?
Is it because a transaction is also pending or has not yet been confirmed?

Any insight would be appreciated.

Programmatically add / remove a person from the SharePoint group in the C # console application

Dear Stackoverflow community:

What we have?
There is a SharePoint site with different folders and subfolders etc.
Except for the default SharePoint groups (and their permission levels) – custom groups have been created for some folders. These groups have special / user-defined authorization levels.

What I have to do is:
1. Enter the web path in the folder using the console, e.g. B.
2. Enter the email / username in the C # -based console application of the user to be added to the custom group available at this address
3. Enter the email address / username of the user you want to remove from the custom group available for that address

In short, how I access a specific web path, remove users from the groups available in a specific web path.
That is pretty much all this tool will do. I guess the code must also send my credentials to the portal so that it can do its job.

What have I tried so far?
I've read a few articles and posts about it, but so far I've only "worked" with desktop-based tools (amateur level) that perform local tasks, and I'm fairly new to web projects, so I would like some support need. 🙂