douzhong8856 2016-01-01 20:45
浏览 6

安全重定向

My question is about CodeIgniter secure redirection. Let's say we have an user and this user has multiple recipients. And also a table with them (CodeIgnitier framework). If I want to edit some of the user's recipients I just click the edit button. Then this action will redirect the user to edit recipient page.

In my codeigniter I'm using:

public fuction editRecipient($recipien_id)
{
...
}

If I organize my function in this way, users can access the edit page of another recipient (by Url: htttp://example.com/editRecipient/123/)

So, what would be the solution?

  • 写回答

1条回答 默认 最新

  • dongxuxian1123 2016-01-01 20:52
    关注

    Your solution should be an Access Control List.

    评论

报告相同问题?

悬赏问题

  • ¥15 IAR程序莫名变量多重定义
  • ¥15 (标签-UDP|关键词-client)
  • ¥15 关于库卡officelite无法与虚拟机通讯的问题
  • ¥15 qgcomp混合物线性模型分析的代码出现错误:Model aliasing occurred
  • ¥100 已有python代码,要求做成可执行程序,程序设计内容不多
  • ¥15 目标检测项目无法读取视频
  • ¥15 GEO datasets中基因芯片数据仅仅提供了normalized signal如何进行差异分析
  • ¥100 求采集电商背景音乐的方法
  • ¥15 数学建模竞赛求指导帮助
  • ¥15 STM32控制MAX7219问题求解答