How to Edit Code and Harden File Security
Follow this manual to use the built-in IDE and manage file permissions directly from your BoostonCP dashboard.
Step 1: Using the CodeMirror IDE
- Right-click any script file (e.g.,
index.php) and select "Edit". - The professional IDE will initialize with full Syntax Highlighting.
- Use the Expand Icon for a fullscreen coding experience.
- Press
Ctrl + Sto save changes instantly.
Step 2: Managing Permissions (CHMOD)
To secure your application, you must set proper access levels:
- Right-click an item and select "Permissions".
- Use the Checkbox Matrix to define Read, Write, and Execute rights.
- Alternatively, enter the Numeric Code (e.g.,
644for files). - Click "Apply" to harden the item.
Step 3: Archiving & Extraction
- To Zip: Select items, right-click, and choose "Zip". Select your preferred format (ZIP/Tar.GZ).
- To Unzip: Right-click a compressed file and select "Unzip" to extract contents into the current directory.
SECURITY TIP: For standard web files, always use
644 permissions. For directories, use 755 to maintain a secure neural environment.