# Moving the `storage/` directory

 The `storage/` can be moved outside the web root directory to prevent unauthorised access to its contents via the web.

1. Recursively move the `storage/` directory to the intended destination. For example: ```
    
            mkdir -p /sp-storage
            mv /var/www/html/storage /sp-storage
            
    ```
2. Define the `STORAGE_PATH` environment variable: ```
    STORAGE_PATH=/sp-storage
    ```