473,734 Members | 2,375 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

deny access to videos files

Hello,

How do I control (allow / deny) access to files such as videos. It seems
that can be used httphandler but I can not!
Someone would have an idea or a concrete example of code ?

Thank you

Mar 15 '08 #1
1 1184
"Scottmat" <em***@hotmail. comwrote in news:A02BC328-8BB4-4A08-8B91-
DE**********@mi crosoft.com:
How do I control (allow / deny) access to files such as videos. It seems
that can be used httphandler but I can not!
Someone would have an idea or a concrete example of code ?
You can use Windows File Permissions.

or you can place all the files into a restricted directory, then stream the
file dynamically to the client using an ASPX page.

--
sp**********@ro gers.com (Do not e-mail)
Mar 16 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1206
by: spike | last post by:
I tried to upload a .htaccess-file to the directory that i wanted to protect. This is what I wrote in it: ------------------------------------------------ <Limit GET> order deny,allow deny from all allow from mydomain.com </Limit>
4
2737
by: armitageshanks | last post by:
Hi, I'm pretty new too Access 2000 and I have a database that I with the details of peoples names, i.e. surname, forename, ref number. I have another table with surname, forename, etc plus some other details, including videos. For arguments sake, the first person is a parent, the second is the child, and the videos belong to the child. The problem that I am having is that on the form I can manage to get the details of the parent on it...
3
2750
by: david | last post by:
Hi, I have a asp.net site running on an MS Access database this is, for better or worse, stored under the webroot. How can I lockout the database directory to prevent anyone from downloading the mdb file via HTTP?
4
12166
by: Dan | last post by:
hi ng. i have a strange behaviour when i want to control who can access a web application by setting web.config like: <authorization> <allow users="DOMAIN\ACCOUNT,..." /> <deny users="*" /> the authorization is working fine, but the user receives the standard "The page cannot be displayed"
7
2372
by: Brian Linden | last post by:
I have a web application using forms authentication and everything seemed to be working fine, as far as requiring them to login. But then I noticed that you could type in: http://domain.com/restrictefolder/test.htm How do I deny access to a folder full of .htm files that I don't want them to read unless they have logged in?
7
3873
by: ABC | last post by:
How can I deny all users directly access image files from images folder?
5
16438
by: profdotnet | last post by:
Below is the code of web.config file: <configuration> <system.web> <authentication mode="Forms" /> <authorization> <allow users="Admin"/> <deny users="Jack,Mary" /> <deny users="?"> </authorization>
0
1142
by: ramakanaveen | last post by:
Hi , I have an applet like <Applet code="x.class" codebase="a.jar,b.jar" ...> The above a.jar and b.jar are in defaultwebapp folder of web application which is a public access folder, so everybody can download the jar files by typing http://url/a.jar. The requirement is not to allow the jar files to download , so i denied access by modifying the <URL-Pattern> in web.xml ,
2
3224
by: jon | last post by:
Hi, I was hoping someone in this section could help me with a C based API that plays videos, all different kinds of videos. I have found how to play .avi files, but playing other files seems to be a lot harder. I know you must use codec's (unless i'm mistaken) and thats where I get lost, but I think you have to use COM in it somewhere, but it's over my head, could someone please help me?? Thanks in advance. Jon
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9449
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9310
jinu1996
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...
1
9236
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,...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2180
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.