douzhen1234 2011-11-29 12:52
浏览 43
已采纳

PHP LDAP通过页面绑定状态

I am creating a small PHP system where the users can edit their active directory details.

The first page is a login page which redirects to the main page where the users can edit their details.

On the login page, I use ldap_bind to authenticate the users which on success redirects the to the main page. Now, I do not want to pass the password of the user through sessions for security reasons.

How do I pass the bind state to the other pages in the system?

  • 写回答

1条回答 默认 最新

  • dpeqsfx5186 2011-11-29 17:17
    关注

    Use the same connection to the server. Once the authorization state has been established by the bind request on the connection, that authorization state is used by the connection until the next request bind or the connection is dropped.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM