You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note:** Always replace `[email protected]` with an actual administrator email address. The scripts will detect and reject placeholder email addresses.
86
+
72
87
### Configuration File Locations
73
88
74
89
The scripts create configuration files in the following system-wide locations:
@@ -81,7 +96,17 @@ These files are created with read-only permissions for regular users and can onl
81
96
82
97
## Verifying AI Control Status
83
98
84
-
### In Desktop App
99
+
To verify the status of AI controls on end-user machines, the Phoenix Code AI Control extension must be installed:
100
+
101
+
### Installing the Extension
102
+
103
+
1. Open Phoenix Code
104
+
2. Navigate to File → Extension Manager
105
+
3. Search for "Phoenix Code AI Control"
106
+
4. Click the Install button
107
+
5. Restart Phoenix Code when prompted
108
+
109
+
### Checking Status in Desktop App
85
110
86
111
1. Open Phoenix Code
87
112
2. Navigate to File → Check AI Control Status
@@ -92,34 +117,36 @@ These files are created with read-only permissions for regular users and can onl
92
117
- Managed by (administrative contact)
93
118
- List of allowed users (if configured)
94
119
95
-
### In Browser Version
120
+
### Checking Status in Browser Version
96
121
97
122
1. Open Phoenix Code in your web browser
98
-
2. Navigate to File → Check AI Control Status
99
-
3. The browser will check if `ai.phcode.dev` is accessible:
123
+
2. Install the extension (File → Extension Manager → "Phoenix Code AI Control")
124
+
3. Navigate to File → Check AI Control Status
125
+
4. The browser will check if `ai.phcode.dev` is accessible:
100
126
- First shows "Checking if AI is disabled..."
101
127
- Then displays whether AI is available or blocked
102
128
- Provides information on firewall configuration
103
129
104
130
## Configuration Options
105
131
106
-
### Network Blocking (Recommended for Schools)
132
+
### Desktop Applications (Recommended Method)
107
133
108
-
The simplest way to disable AI functionality is to block access to:
109
-
-`ai.phcode.dev`
134
+
For desktop installations of Phoenix Code, we strongly recommend using the installation scripts described above. This approach provides:
110
135
111
-
Add this domain to your firewall or content filtering system. The browser version of Phoenix Code will automatically detect if the domain is unreachable.
136
+
1. System-wide configuration via protected config files
137
+
2. Granular control with user-level permissions
138
+
3. Ability to selectively enable AI for specific users
112
139
113
-
### User-Level Control (Desktop Only)
140
+
Only administrative users can modify this configuration.
114
141
115
-
For more granular control on desktop installations:
142
+
### Network Blocking (For Browser Version at https://phcode.dev)
116
143
117
-
1. The installation scripts create a configuration file at a system-wide location
118
-
2. This file contains:
119
-
-`disableAI`: Boolean flag to control global AI access
-`allowedUsers`: Optional array of usernames with AI access
122
-
3. Only administrative users can modify this configuration
144
+
For schools using the browser version of Phoenix Code, network-level blocking is the recommended approach:
145
+
146
+
1. Block access to: `ai.phcode.dev`
147
+
2. Add this domain to your firewall or content filtering system
148
+
149
+
The browser version of Phoenix Code will automatically detect if the domain is unreachable and display appropriate status messages.
123
150
124
151
## FAQ
125
152
@@ -131,11 +158,6 @@ In both the desktop and browser versions, go to File → Check AI Control Status
131
158
132
159
Yes, but only in the desktop version. Use the `--allowedUsers` parameter with a comma-separated list of usernames when running the installation script. These users will be able to access AI features even when disabled system-wide with the `--disableAI` flag.
133
160
134
-
### What's the difference between browser and desktop control?
135
-
136
-
-**Browser Control**: Limited to network-level blocking of `ai.phcode.dev`
137
-
-**Desktop Control**: Supports both network blocking and fine-grained user permissions through the configuration file
138
-
139
161
### Is AI control mandatory?
140
162
141
163
No, AI control is optional and meant for educational institutions or enterprises that need to regulate AI usage. By default, all users have access to AI features.
@@ -148,9 +170,15 @@ No, all other features of Phoenix Code will continue to work normally. Only the
148
170
149
171
Simply run the installation script again with the new parameters. The script will overwrite the existing configuration file with your new settings.
150
172
173
+
### What's the difference between browser and desktop control?
174
+
175
+
-**Browser Version**: Only supports network-level blocking of `ai.phcode.dev` through your firewall
176
+
-**Desktop Version**: Provides comprehensive control through configuration files with user-specific permissions
177
+
151
178
### Does this completely prevent AI usage?
152
179
153
-
For the desktop version, the control is comprehensive when properly configured. For the browser version, you must implement network-level blocking of the `ai.phcode.dev` domain to effectively control access.
180
+
-**Desktop Version**: Yes, the control is comprehensive when properly configured using the installation scripts
181
+
-**Browser Version**: Only if you implement network-level blocking of the `ai.phcode.dev` domain
154
182
155
183
### How can I verify that the firewall is properly blocking AI access?
0 commit comments