Update README.md
This commit is contained in:
15
README.md
15
README.md
@@ -22,7 +22,7 @@ For simplicity, I'll use my current Ubuntu instance user name, you should replac
|
|||||||
|
|
||||||
### Clone
|
### Clone
|
||||||
```
|
```
|
||||||
git clone https://github.com/yourusername/uploader.git
|
git clone https://github.com/sensboston/uploader.git
|
||||||
cd uploader
|
cd uploader
|
||||||
```
|
```
|
||||||
### or download this repository
|
### or download this repository
|
||||||
@@ -73,6 +73,17 @@ For simplicity, I'll use my current Ubuntu instance user name, you should replac
|
|||||||
```
|
```
|
||||||
sudo nano /home/ubuntu/uploader/config.php
|
sudo nano /home/ubuntu/uploader/config.php
|
||||||
```
|
```
|
||||||
|
### Edit file users.txt:
|
||||||
|
This file lists pseudo-users for upload access authentication, in the format **username:password**.
|
||||||
|
These pseudo-users have **nothing to do** with Linux users and only serve as **an additional layer** of protection!
|
||||||
|
Please **do not use your real login credentials** for this file!
|
||||||
|
Also, be sure to check if you copied the **.htaccess** file with content (that denies access to **users.txt** file)
|
||||||
|
```
|
||||||
|
<Files "users.txt">
|
||||||
|
Order Allow,Deny
|
||||||
|
Deny from all
|
||||||
|
</Files>
|
||||||
|
```
|
||||||
|
|
||||||
### Copy all app files (html, php & js) to the app folder:
|
### Copy all app files (html, php & js) to the app folder:
|
||||||
```
|
```
|
||||||
@@ -97,4 +108,4 @@ The uploaded files will be listed on the page, and you can delete them using the
|
|||||||

|

|
||||||
|
|
||||||
## Issues / TODO
|
## Issues / TODO
|
||||||
- Add checking upload size before starting upload.
|
- Add JS check for upload file size, before starting actual upload.
|
||||||
|
|||||||
Reference in New Issue
Block a user