CyberPanel Community

Can I add open_basedir for site?

ne
nevigen #1

Hi.

Is there a way to automatically add open_basedir for site folder when I create site by panel?

8 replies
us
usmannasir #2

OpenLiteSpeed does not support this yet.

ne
nevigen #4

In my opinion it’s not normal that I have access to privkey.pem, weadmin.csr, and other files in the root of the your demo server…

ba
baoang #5

I also noticed that, the privkey.pem is put under the root dir, but guess these keys/crts are self-signed by cyberpanel rather than by the users of/or the domains.

ne
nevigen #6

We must deny read/write access by PHP to any files and folders outside of the site’s directory. And only one question - how? Without this OpenLiteSpeed cannot be used in production.

je
jetchirag #7

+1 - wasn’t sure it allowed access like this

Cy
CyberPanel #8
ch
chiareu #9

For security is essential that open_basedir protection can be enabled server-wide by default from the security menu. Now we can’t even view somewhere if we have some website unprotected, that’s an invite for any child who dreams to hack some.

Sign in to reply