Hide param value (guid) in an URL

后端 未结 2 1292
予麋鹿
予麋鹿 2021-01-24 03:23

In my route

.when(\'/user:user_guid\',{
        templateUrl : \'users/profile.html\',
        controller : \'userController\'
    })

In my

2条回答
  •  猫巷女王i
    2021-01-24 04:07

    You can encrypt the URL parameters. And then in PHP when you read POST/GET param, you first decrypt it and then read the values. This way nothing gets exposed. I've done it for some of my own projects, and it works.

提交回复
热议问题