You should probably take a look at why you want to keep people from
viewing certain URLs.

If it's from a security standpoint, you should probably have some
server side scripting that blocks the URL, not just a "If there's no
link, then I hope they can't guess my URL" security system.

And if you are trying to block content, this falls under a similar
idea.  Give users levels (or some other flag that shows they are
allowed to access that particular data, or image, or whatnot), and if
they don't have the right level, block the content server-side.

You should never trust a fancy URL to block content from users.

And then you can use the solutions given by others to further increase
your security.

On Aug 25, 9:24 pm, Jerry <[EMAIL PROTECTED]> wrote:
> Hi:
>
> is there any way to make application url difficult to guess?
>  since cake reads record by id, it also provides a way for user to
> guess the record to retrieve.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to