Hi,
I have a directory of movie files that I want users to be able to view and
play in an Embedded media player. However I only want them to be able to
access the movies from my asp.net page.
How can I stop access to the files direct. I was thinking of the following
possible solutions but each has their drawbacks.
Write back to the response stream with the content type of movie and stream
back the movie that way and let the browser decided which player to invoke,
this way only the ASPNET account can be given access to movies on and NTFS
level and that stops people downloaded direct, I can handle which movies
they get on the page. Problem is with this, it wont appear in their
embedded browser.
The other way is the dynamically write out html that will embed the media
player with the file to play. But then the media player will not be
connecting under the ASPNET account and the movies wont be able to be got
at. Also the user can just view source and then they can see where the
movie is and download direct.
Does anyone have a slicker idea. Can Windows Media Services be used to any
effect here, kinda stuck as I dont know what to look up and read.
TIA
MattC 1 1308
You media files should be located in a private directory.
You could create a web page that acts as the gateway to these files. Before
it uses Response.WriteF ile it authenticates the user to ensure they should
have access.
Here's more info: http://SteveOrr.net/articles/StreamingMedia.aspx
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://SteveOrr.net
"MattC" <m@m.com> wrote in message
news:OA******** ******@TK2MSFTN GP09.phx.gbl... Hi,
I have a directory of movie files that I want users to be able to view and play in an Embedded media player. However I only want them to be able to access the movies from my asp.net page.
How can I stop access to the files direct. I was thinking of the following possible solutions but each has their drawbacks.
Write back to the response stream with the content type of movie and stream back the movie that way and let the browser decided which player to invoke, this way only the ASPNET account can be given access to movies on and NTFS level and that stops people downloaded direct, I can handle which movies they get on the page. Problem is with this, it wont appear in their embedded browser.
The other way is the dynamically write out html that will embed the media player with the file to play. But then the media player will not be connecting under the ASPNET account and the movies wont be able to be got at. Also the user can just view source and then they can see where the movie is and download direct.
Does anyone have a slicker idea. Can Windows Media Services be used to any effect here, kinda stuck as I dont know what to look up and read.
TIA
MattC
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: alan b |
last post by:
I know I am still having code problems.
===========================================
I tried to create a txt file below :movie.txt
<ASX VERSION="3.0">
<ENTRY>
<REF HREF="practicea9r9.wmv"/>
"http://68.39.xxx.xxx/C:/Documents and Settings/alan/My Documents/My
Videos/practicea9r9.wmv"/>
</Entry>
|
by: jonathanztaub |
last post by:
I have a DVD CD.
* Is it possible to embed it within an html page?
* Does the user has to have windows media player or any other program
associated
with it?
* How exactly do I use the <embed> tag?
* Do I have to convert the original to another format?
|
by: Kilian A. Foth |
last post by:
I just found this amazing video puzzle game written with the pygame
library, which promises to be infinite fun - but I can't get it to
decode any video file I own, except the game's own example .mpg. All I
have is lots and lots of useless .avi, .mp2, .wmv, and so on...
Now, the pygame.Movie documentation says the Movie class can decode
`MPEG movie files'. I know little about multimedia, but I thought
divx/xvid video was a variant of...
|
by: A.M-SG |
last post by:
Hi,
I have a ASP.NET aspx file that needs to pass large images from a network
storage to client browser. The requirement is that users cannot have access
to the network share. The aspx file must be the only method that users
receive image files.
|
by: Cerebral Believer |
last post by:
Hi All,
I plan to use streaming audio on my site. I had uploaded some .mp3's as
part of a trial, and these streamed very badly so I tried .ram (RealAudio)
files instead. The RealAudio files are a lot smaller in size, but they do
not stream, a user has to download the file before listening to it.
Which format would you recommend for good to high quality audio streaming?
Should RealAudio files stream? If so how can I get them to...
| |
by: poorna |
last post by:
hi all
i want to upload the video files to the server..
then i encode all the video files into flv files ...
and then i am go to streaming ...
in the mean while i create the thumbnail image from video..
doubts:
how to upload the video files to web server?
|
by: xhunter |
last post by:
Hi,
I am trying to add support for ranges to my download scripts, so users downloading from my site with eg download managers they have the option for multiple connections/resume.
I have gone so far that this works perfect in normal situations, but not when streaming a file eg "wmv" ,
it seems mediaplayer or other players request ranges differently than download managers , so the effect is that you can not move forward along the movie...
|
by: Brad |
last post by:
I have an aspx page that is sending pdf files to client browsers: it uses a filestream to read the pdf file and
response.binarywrite to send content to the browser. This has worked great for years in IE, Firefox and Opera on
windows, and it works on a Mac with Firefox and Opera. But this fails in Safari with the generic message "A network
error occurred while accessing this document".
Here is a link to try out ...
|
by: =?Utf-8?B?TWF0dA==?= |
last post by:
Hi,
I need to build a Media Player using Silverlight/ASP.NET to stream data from
a audio/video file on the server.
Details:
1. Audio and Video files are separate.
2. Audio is WAV or VOX format.
3. Video is a custom format. Basically just a set of structure, containing
compressed bitmaps and timing information, as to when to display the same
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |