I have a website with a mysql DB and I'm going to create a native app (probably in C#/WPF) which must access this DB.
Is it more secure and efficient to directly access this DB (and so keep the access information in the client app) or to create a PHP API ?
Thank you, Sébastien