Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Prevent stealing

 
Ranch Hand
Posts: 202
Android PHP Java
  • 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
 
Ranch Hand
Posts: 85
Android Netbeans IDE Java
  • 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 PHP Java
  • 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.
 
Ranch Hand
Posts: 77
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 PHP Java
  • 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...
 
Marshal
Posts: 24961
61
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 PHP Java
  • 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
 
I don't like that guy. The tiny ad agrees with me.
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!