• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Prevent stealing

 
Ranch Hand
Posts: 202
Android PHP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Your mother was a hamster and your father was a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic