I am currently developing an Android application which is downloading mp4 formatted video from my server to Android device. I am storing those videos into internal storage area. However, i am worrying about stealing videos. How can i prevent it? Is there any good method?
I tought convert video into base64 and download as string and re-convert into whatever extension was.
Mohamed Iqzas wrote:In my opinion, a person who is allowed to view a video should be allowed to view it anytime he wants.
I hate when apps load the video afresh each and every time, keeping in mind the cost of data download involved.
So better not to clear the cache.
I agree with you however, my customer's request was this way...
Paul Clapham wrote:Seems to me that if your Android device is just copying the file from your server into its local storage, then anybody else can do the same thing from any computer using any downloading software as soon as they know the URL. So this isn't a question about Android per se. First you need to fix that issue.
How about adding some sort of unique token?
if request has that key then start download else do nothing