I have done some android programming (self taught). I have started working on an app idea. The idea is pretty much that people with the app installed can post pictures/videos and text which can be seen by everyone with the app.
I have purchased a hosting (working on making my own webpage), which has a lot of disk space, so I thought about using that. It seems pretty easy to add files using some sample FTP code I found online.
My biggest fear is in regards to security. Not as much about the files being put there (because anyone who installs the app will be able to see it anyway) but mostly if they would be able to get the server address, username and password in some way, which would give them access to add and remove other files from the hosting.
Is this a legitimate fear? Is there a danger of that? If yes, what should I look into as an alternative?
EDIT: Sorry if I wasn't very clear. My fear is if they could get their hands on my username and password, which would be somewhere in the java code (and if so, how to avoid this)