• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Prevent stealing

 
ibrahim yener
Ranch Hand
Posts: 202
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello...

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?

Regards
 
Rehan Zahoor
Ranch Hand
Posts: 83
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way can be to clear cache of the app/ the video, when it is downloaded (viewed) completely.
 
ibrahim yener
Ranch Hand
Posts: 202
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how about sniffing?

I tought convert video into base64 and download as string and re-convert into whatever extension was.
 
Mohamed Iqzas
Ranch Hand
Posts: 73
Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
ibrahim yener
Ranch Hand
Posts: 202
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21559
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
ibrahim yener
Ranch Hand
Posts: 202
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic