【发布时间】:2014-11-13 12:45:17
【问题描述】:
在我的 codeigniter 应用程序中,以下是用户配置文件的格式
http://example.com/foo/view_profile/userid
如何限制用户查看其他人的个人资料?这意味着他无法浏览除个人资料之外的任何其他链接。
例如,用户 foobar420 无法浏览以下链接
http://example.com/foo/view_profile/foobar250
http://example.com/foo/view_profile/
http://example.com/any-this-else
我怎样才能做到这一点?
【问题讨论】:
标签: codeigniter authentication