Questions tagged [security]
The security tag has no summary.
40 questions
5 votes
1 answer
153 views
Locking cell groups
Imagine I have a notebook divided into multiple groups of code cells which are set as initialization groups. I then have a single cell which evaluates a function ...
9 votes
1 answer
339 views
Generating Google BigQuery API Access Token in Wolfram Language
I'm working on a Wolfram Language Package to connect into Google Bigquery (that I'll make public available). In order to finish It, I need to solve a last step, that is how to get an authentication ...
6 votes
1 answer
207 views
How do I generate a JSON Web Token?
I want to access a service that uses JWT authentication for its API. Generating a JWT doesn't look too difficult, it is a combination of BASE64URL encoding, and HMAC Signing. However, these things can ...
2 votes
0 answers
106 views
Protect a package from removed or altered system commands
I am creating a package and I would like it to be secure, i.e. it loads and runs using Needs but the code stays secret. So I set up the protection using: ...
5 votes
1 answer
306 views
How to run a wolfram-server safely on a VPS as a backend of a webpage?
If one runs SocketListen on a Virtual Private Server (VPS), in principle one can set up a webpage with the Wolfram Language as a back-end. For instance, with ...
8 votes
1 answer
407 views
Security of SendMail
It's a little bit scary to hand over your credentials like this: I would like to know just how secure this process is. Is any way to ensure that mail sent from Mathematica is encrypted in transit and ...
8 votes
1 answer
445 views
Is it possible to make notebook read-only without using OS file read only setting?
I want to make notebook read-only (protect from modification) for all operating systems (when copied from one OS to another OS read-only should remain). Is there any way to do that?
17 votes
2 answers
557 views
Safe alternatives to ToExpression
Background Conversion from string/boxes to expression is quite common. Very often the goal would be a simple switch from "1" to ...
7 votes
0 answers
142 views
Unsecured Chat when Dynamic Update is Enabled
Mathematica v11.3 has just been released, A new feature, Chat, could be found In File>New>Chat. It is convenient when communicating code with other users, but ...
22 votes
1 answer
400 views
How to uncompress strings safely (without any evaluation)?
Compressed strings are often used to exchange Mathematica expressions on the Internet. It is, however, not easy to see what such expression will do after decompression. Resulting code can perform ...
1 vote
0 answers
311 views
How to *safely* enable automatic initialization cell evaluation for one notebook?
I want to configure this one notebook (let's call it X) so that its initialization cells get automatically evaluated when X is first opened1. To this end, I have applied the settings shown below to ...
3 votes
2 answers
353 views
Lock .nb cells of a file
I'm working on my research and I defined a few function that I don't want anyone to take from my code. And I must submit the Mathematica file to a public place. Is there any way to lock my nb file by ...
3 votes
0 answers
85 views
Safely running Import on an unknown URL [closed]
I'm writing a web API that takes as arguments URLS of MIDI files, imports and processes them, and spits a MIDI file back out. I'm nervous just Import[]ing whatever URL the user gives me. How can I be ...
1 vote
0 answers
87 views
How to restrict Import & Export functions to a specified path?
We're providing Mathematica computing service to our customers. Now we're decided introducing Import and Export functions, but ...
4 votes
1 answer
317 views
Why InitializationCellWarning is False and still I get warnings?
I wrote a notebook containing initialization cells: (1) notebook's options related to initialization are set to: ...