Re: deny access to videos files
Tech-Archive recommends: Fix windows errors by optimizing your registry
"Scottmat" <email@xxxxxxxxxxx> wrote in
news:A02BC328-8BB4-4A08-8B91-
DE524AFD7248@xxxxxxxxxxxxx:
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.
--
spamhoneypot@xxxxxxxxxx (Do not e-mail)
.
Relevant Pages
- Re: Use IHttpHandler not ASPX for pro web apps
... I wrote an httphandler for the extension .juan, almost 10 years ago when ASP came out, ... page with a .aspx extension as plain text. ... An HTTP handler is a class that is responsible for rendering a particular resource, ... (microsoft.public.dotnet.framework.aspnet) - RE: casting to page in class library
... From an ASPX page or a class that is used as ... "Mahesh Nimbalkar" wrote: ... > using HttpHandler for ASPX page, following lines of code are throwing error ... > that {"Specified cast is not valid." ... (microsoft.public.dotnet.framework.aspnet) - =?UTF-8?Q?Re:_=C3=96ffnen_einer_neuen_Instanz_d?= =?UTF-8?Q?es_Internet_Explorers?=
... Henry Habermacher schrieb: ... , wenn diese also von der ASP Seite im Speicher aufgebaut wird und dann einfach als Stream an den Client geliefert werden soll? ... Context hinein generiere, sondern in eine Variable und dann die Seite ausgebe, muss ich diese Variable in der Session ablegen, damit ich diese anschliessend wieder einlesen kann, wenn der HttpHandler aufgerufen wird. ... (microsoft.public.de.german.entwickler.dotnet.asp) - Re: HttpHandler
... You would waste some CPU runtime by asking (by doing it as an aspx page) to ... My advice to get familiar with "page cycle" google it or here ... I think I get what you are saying (Mick too in his post). ... Is it that it is just easier in a HTTPHandler? ... (microsoft.public.dotnet.framework.aspnet) - RE: HttpHandler
... As for the httphandler, it just write out certain response stream to the ... client browser, for image, the returned stream just contains the image's ... (microsoft.public.dotnet.framework.aspnet) |
|