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

  1. Right-click any script file (e.g., index.php) and select "Edit".
  2. The professional IDE will initialize with full Syntax Highlighting.
  3. Use the Expand Icon for a fullscreen coding experience.
  4. Press Ctrl + S to save changes instantly.
[IMAGE_PLACE_HOLDER: User IDE - Screenshot of the code editor with syntax highlighting and dark theme.]

Step 2: Managing Permissions (CHMOD)

To secure your application, you must set proper access levels:

  1. Right-click an item and select "Permissions".
  2. Use the Checkbox Matrix to define Read, Write, and Execute rights.
  3. Alternatively, enter the Numeric Code (e.g., 644 for files).
  4. 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.