Can I password protect files in OneDrive?

Lan Anh

New member
Can I password protect files in OneDrive?
Answer
Password Protected file sharing links with OneDrive. Until now, you could send a link to a OneDrive stored file or folder but there was no control over who used that link. If the link ‘escaped’ to other people, they could download or even edit the document or file. Now anyone using the link can be asked for a password.
Photo in the article by “小鑫的GNU/Linux学习网站- 小鑫博客”
Code:
https://linux.xiazhengxin.name/index.php?m=06&y=11&entry=entry110601-195440
To run the .sh file (in Linux and iOS) in command line, just follow these two steps:
  • open a terminal (Ctrl+Alt+T), then go in the unzipped folder (using the command cd /your_url)
  • run the file with the following command.
To run the .sh file (in Linux and iOS) in command line, just follow these two steps:
  • open a terminal (Ctrl+Alt+T), then go in the unzipped folder (using the command cd /your_url)
  • run the file with the following command.
Shell scripting
  • Create a file using any text editor. The first line must begin with the string #!/bin/csh.
  • Give yourself execute permission with the chmod u+x filename command.
  • You can run the shell script by simply typing filename as if it were a regular command.
Part 2 Creating a Quick Text File
  • Type cat > filename.txt into Terminal. You’ll replace “filename” with your preferred text file name (e.g., “sample”).
  • Press ↵ Enter .
  • Enter your document’s text.
  • Press Ctrl + Z .
  • Type ls -l filename.txt into Terminal.
  • Press ↵ Enter .
The way professionals do it
  • Open Applications -> Accessories -> Terminal.
  • Find where the .sh file. Use the ls and cd commands. ls will list the files and folders in the current folder. Give it a try: type “ls” and press Enter.
  • Run the .sh file. Once you can see for example script1.sh with ls run this: ./script.sh.
Linux (advanced)[edit]
  • save your hello.py program in the ~/pythonpractice folder.
  • Open up the terminal program.
  • Type cd ~/pythonpractice to change directory to your pythonpractice folder, and hit Enter.
  • Type chmod a+x hello.py to tell Linux that it is an executable program.
  • Type ./hello.py to run your program!
How to Compile and Run C/C++ program on Ubuntu 11.10
  • Write and save the program. Open a simple text editor (e.g gedit), IDE (Eclipse) or command line code editor (Nano or Vim).
  • Compile the program. GCC (GNU Compiler Collection) is installed by default, in Ubuntu.
  • Execute the program. To execute the program, you need to run – ./hello1.
and then point your browser to http://127.0.0.1/infophp.php which opens this file in web browser. Here Option ‘-f’ parse and execute the file that follows the command. Here the option ‘-r’ run the PHP Code in the Linux Terminal directly without tags < and > .
 

Tìm kiếm

Back
Top