That would be good enough. thanks a lot, ill give it a try.
"Jason DeFontes" <jason@defontes.com> schreef in bericht
news:erTcqIEOEHA.556@TK2MSFTNGP10.phx.gbl...[color=blue]
> You can't check it from the server, but you can put some client script
> in your page that checks for a frameset and redirects to an error page
> if it doesn't find it. Something like:
>
> function checkForFrames()
> {
> if (parent.frames.length == 0)
> {
> // not in a frameset
> window.location = "error.htm";
> }
>
> }
>
> -Jason
>
>
anonymous@discussions.microsoft.com wrote:
>[color=green]
> > Thanks for your answers,
> >
> > The sequrity does not have to be very strong. It is just
> > a intranet, and i am not expecting any hackers.
> >
> > The source application is DNN2.04. Withe the sequrity
> > settings there it is easy to restrict some users to see a
> > tabs or not. In these tabs, i show in a frame my pages.
> > My asp.net pages are created with codecharge, and they
> > take can read all kind of parameters.
> >
> > Sending a query string could be an option, but i guess
> > would not know how to make such a string so that users
> > could not see it in the url.
> >
> >[/color][/color]