|
Home > Archive > Microsoft Content Management Server > July 2006 > Can I refuse the request from addressbar and clicking "GO"?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Can I refuse the request from addressbar and clicking "GO"?
|
|
|
| To whom may concern:
We made a mcms application, and met a problem, in my program:
1. Check authentication.
2. Get the posting which need be edit.
3. Response.Redirect(WebAuthorContext.Current.GetUrlForMode(posting,
WebAuthorContextMode.AuthoringReedit), false );
4. Then page will navigate the edit page of the posting.
The problem is that: If I right click in the page, then I can get the
url, like:
http://localhost/NR/exeres/B74D7834...uthoringReedit.
Then I paste it into addressbar in a new IE window, click "Go", opps,
the edit page works too!!!
So my question is: How to refuse this kind of request?
Thanks in advance!
Jack
| |
| Stefan [MSFT] 2006-07-28, 7:21 am |
| Hi Jack,
that is technically impossible.
The server is not able to identify if the request comes from the same or
from a different browser window.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"Jack" <lsfyfan@gmail.com> wrote in message
news:1154070679.815168.229740@75g2000cwc.googlegroups.com...
> To whom may concern:
>
> We made a mcms application, and met a problem, in my program:
> 1. Check authentication.
> 2. Get the posting which need be edit.
> 3. Response.Redirect(WebAuthorContext.Current.GetUrlForMode(posting,
> WebAuthorContextMode.AuthoringReedit), false );
> 4. Then page will navigate the edit page of the posting.
>
> The problem is that: If I right click in the page, then I can get the
> url, like:
> http://localhost/NR/exeres/B74D7834...uthoringReedit.
>
> Then I paste it into addressbar in a new IE window, click "Go", opps,
> the edit page works too!!!
>
> So my question is: How to refuse this kind of request?
>
> Thanks in advance!
> Jack
>
|
|
|
|
|