| re: Preventing direct linking picture and video files ?
Write an iHTTPModule that checks for the referrer and redirect if its not
coming from within one of your pages.
--
Regards
John Timney
Microsoft Regional Director
Microsoft MVP
"Petri" <pmb@netsonic.fi> wrote in message
news:hXKic.797$Fh5.448@reader1.news.jippii.net...[color=blue]
> Dear newsreaders,
>
> Access to aspx-pages can be prevented for example checking authentication
> cookie
> on page_onload part of code.
> But is there any way to prevent direct access to indivual files (eg.
> picture.jpg , video.wmv )
> so that instead of showing file contents there would be a redirection to[/color]
an[color=blue]
> authentication form ?
> The idea here is to prevent direct / hotlinking to my web site resources.
> I am using a hosting service, so I do not have access to IIS settings.
> I would appreciate any idea.
>
> best regards,
>
> Petri
>
>
>
>[/color] |