I’ve created a web service in Netbeans; creating the entities classes from my database.
I was just wondering if i could make mysql database or web service read-only?
The database and web service have been created to retrieve data for my android app; i don’t want the app to be able to modify the database, only select using get methods.
I’ve tried creating roles in my database, deleting the setter methods in webservice but it just causes problems
And advice would be great
what about using a distinct mysql user account for your webservice that only has read access (ex. a user with only SELECT privileges to the desired database or tables)?
maybe the most easies way to do this.