Android Question okHTTP replaced with HTTP issues are coming.

Juzer Hussain

Active Member
Licensed User
Longtime User
Hi,
My app was connecting fine suddenly i started getting msg "HTTP Error 403.0 - ModSecurity Action You do not have permission to access this file or folder" as such i replaced HTTP with okHTTP. But app is still not connecting.Pls help.

Juzer
 

Juzer Hussain

Active Member
Licensed User
Longtime User
I am talking to ISP, btw Its a select statement as you saw if it is breaking the rule then i guess it will stuck at every step.
 
Upvote 0

Juzer Hussain

Active Member
Licensed User
Longtime User
I tried to zip it gave some error ("object not set..") and there is limit of 512 therefor i managed somehow
any ways i hope i will get some workaround Erel
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
I am talking to ISP, btw Its a select statement as you saw if it is breaking the rule then i guess it will stuck at every step.

not really, the way you do it is wrong.

you should only send commands with optional parameters like an id or search parameter.

if you send over full queries it will be easy to read out all your data or inject code to trash data.

so in your case it could be url/getdata.aspx?op=get1master .
the aspx will know what query it needs to run. (Select top 1 * from companymaster)
 
Upvote 0

Juzer Hussain

Active Member
Licensed User
Longtime User
I was talking to the ISP they said "Cannot break rule no - 13....." I changed it to just pass a variable value and now its working.
Thank You Very Much SOREX
 
Upvote 0
Top