How can I configure the PHP protection system suhosin so that nativeapp can upload images? I converted a native app online to my dz Forum. What is different from a common Web page or html5 app, this app will be blocked by suhosin when uploading an image, but the upload fails and suhosin is commented out. so extension can solve this problem, but I think suhosin is very good for enhancing php Security.
I saw the configuration items on its official website.
Http://www.suhosin.org/stories/configuration.html
There are many configuration items, and I don't know which configuration item is related. I tried to disable the following
Suhosin. upload. disallow_binary = Off
Suhosin. upload. remove_binary = Off
Suhosin. request. disallow_nul = Off
Suhosin. request. max_varname_length = 1000
The problem persists!
How can I configure the PHP program to protect the system suhosin so that native apps can upload images, voice, and so on? (Normal webpages and html5 apps can be uploaded normally)
My environment is
Debian7.5
Directadmin panel
Lamp environment
Reply to discussion (solution)
Is suhosin rarely used? I used to give you some advice.
Good thanks
I found the configuration item, suhosin. simulation = On.
If you are not satisfied with the answer, you can only give the score to the above one. in this case, 50% is returned, otherwise it will be wasted.