Avatar of jameslimited
jameslimitedFlag for United States of America

asked on 

Problem with securing video for iphone playback

Hello, im post here for some help/support with iphone. My problem is im trying to secure a video (.mov and .m4v) file on a windows 2003 web svr. I enabled the secure feature on the web svr and everything is working fine. Im propped for a login when I hit the link to the video file on my windows/mac and on the iphone its self. Now here is where I need the help. The video plays fine on the windows/mac, however on the iphone after I enter my account info it takes me to the video player and tries to load the video. Then it response back "This movie could not be played". After I got the message the first time, I turned the secure feature off and it played fine& im suck and dont know what the problem is. Has anyone experience this before/know what the problem is.

The video is secured using a basic authentication with password sent in clear text using windows IIS services. Anyone know if .htaccess using Apache will play nice with the iphone.

So here is more detail. I have a Video file available on a web server that can be viewed from a external web user (external to my web server, so from anywhere in the world). I want to somehow secure the video file, so user will have to enter a login and password to view the video. It works fine on the windows/mac machine, but the real reason Im doing it is for the iPhone.

Thank you for your time&
iPhoneDigital AudioMicrosoft IIS Web Server

Avatar of undefined
Last Comment
jameslimited
ASKER CERTIFIED SOLUTION
Avatar of Dave_Dietz
Dave_Dietz
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of jameslimited
jameslimited
Flag of United States of America image

ASKER


2008-07-23 19:41:45 W3SVC1 204.154.71.164 GET /KPS/Video/iphonetest2_iPod.m4v - 80 - 169.145.1.40 Mozilla/5.0+(iPod;+U;+CPU+iPhone+OS+2_0+like+Mac+OS+X;+en-us)+AppleWebKit/525.18.1+(KHTML,+like+Gecko)+Version/3.1.1+Mobile/5A347+Safari/525.20 401 2 2148074254
2008-07-23 19:41:46 W3SVC1 204.154.71.164 GET /KPS/Video/iphonetest2_iPod.m4v - 80 webadm 169.145.1.40 Mozilla/5.0+(iPod;+U;+CPU+iPhone+OS+2_0+like+Mac+OS+X;+en-us)+AppleWebKit/525.18.1+(KHTML,+like+Gecko)+Version/3.1.1+Mobile/5A347+Safari/525.20 200 0 64
2008-07-23 19:41:46 W3SVC1 204.154.71.164 GET /KPS/Video/iphonetest2_iPod.m4v - 80 - 169.145.1.40 Apple+iPhone+OS+v2.0+CoreMedia+v1.0.0.5A347 401 2 2148074254

Open in new window

Avatar of jameslimited
jameslimited
Flag of United States of America image

ASKER

Thank you for the feed back Dave_Dietz. I post the log ^^ of when the iPhone try's to play the video file. An yes the iPhone does open up quicktime to play the video file. Is there anyway i can have the web server log the ip address of a device after user supplied login information? So then the web svr would accept the device and allow it to play the video file.
Avatar of Dave_Dietz
Dave_Dietz
Flag of United States of America image

You could possibly write some sort of ISAPI filter that would keep track of IP addresses and supply credentials for known IPs, but keep in mind that many of these requests will be coming through various proxies and many clients could show up as the same IP address.

As far as anything built into IIS i'm afraid there isn't anything like what you are looking for.

Dave Dietz
Avatar of jameslimited
jameslimited
Flag of United States of America image

ASKER

Thanks!
Microsoft IIS Web Server
Microsoft IIS Web Server

IIS is Internet Information Services, the web server included with Windows Server operating systems. All current versions are built on a modular architecture; modules can be added or removed individually so that those required for specific functionality are installed. The full installation of IIS includes HTTP, security, content, compression, caching, logging and diagnostics.

36K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo