Yii Framework Forum

Is the Console safe?


(Obalsoy) #1

I was wondering if the Console executes are safe. What is the security structure there as opposed to authentication thru the web?

Are we safe to assume that the server root or web server user can execute the Yii code safely? In our console controllers, what kind of security measures are we supposed to take?

Thanks.


(Alexander Makarov) #2

The safety layer is the fact that one should login via ssh to the server in order to execute commands. There’s no protection in the framework itself.


(Alirz23) #3

to add to what @samdark said your console controllers are not available publicly, your first security measure is your server protect it well make sure no has access to the server.