هل يمكن منح Claude Code وصولاً للقراءة فقط إلى التثبيت المستضاف ذاتيًا؟

I have Claude Code and I’d like to make the best use possible of it to assist me in setting up and managing my install. I do not want to give it any kind of write access. Is there a way to give it SSH access to my Discourse install with only read permissions? Same with the database? And to forbid access to anything “security/confidential” on the server? Seems to me it would be much more efficient if I can give it this kind of access, rather than have it read web pages, dig through SQL dumps (btw, come to think of it: do those contain anything sensitive security-wise? I imagine they do), give it screenshots or copy-paste settings and error messages…

Is anybody doing this kind of thing?

نعم، يمكنك إنشاء مستخدم SSH يتمتع بصلاحيات قراءة فقط والسماح لـ Claude Code باستخدامه… هذا يحمي من التعديلات غير المصرح بها، لكنه سيظل قادرًا على قراءة المعلومات الحساسة.

تخيلك صحيح! محتوى الرسائل الخاصة، وكلمات المرور المشفرة، وعناوين IP، ومفاتيح API، وما إلى ذلك… الكثير من الأشياء.

من الأسهل إنشاء موقع مكرر بدون بيانات حساسة بنفس التكوين واستخدامه كبيئة تجريبية. هناك مقايضات لأنك ستضطر إلى صيانة موقع منفصل والحفاظ على تزامن التكوين، وأحيانًا قد تتمكن فقط من تكرار مشكلة في بيئة الإنتاج، لكنها الطريقة الأكثر أمانًا.

أنت محق في حذرك… فسياسة الأمان الخاصة بنا في فريق Discourse تقيد هذا الأمر علينا أيضًا، ولا يمكننا السماح لنموذج لغوي كبير بالوصول إلى قواعد بيانات الإنتاج.