English 中文(简体)
Don t Save theURL in history, any Header or meta-tag?
原标题:Don t save URL in history, any header or meta-tag?

是否有任何吉大港定居和定居地的head头或 met子可以用来避免将卢爱拉带入浏览器的历史?

例如,我不想。

http://domain.td/show/super-secret-unique-token-that-is-private

当我开始打上“主人”的字时,就在“URL”酒吧展示。

目前,我在网站上有一个搜索表,以装上脚印,没有上台。 但后来,我想通过链接装上脚印,不要说一册。

最佳回答

决定使用我节省在浏览器会议上的地图。 这样一来便可以致谢 Key throgh the URL and receive the changing subsequently.

我写了Zentd_Session_这一小小小段。 姓名空间和添加功能。

<?php

class My_Session_Tokens extends Zend_Session_Namespace {

    protected $_namespace = "Tokens";

    public function __construct($namespace =  Tokens , $singleInstance = false)
    {
        parent::__construct($namespace, $singleInstance);
    }

    public function add($token) {
        if($tokenKey = $this->hasToken($token)) {
            return $tokenKey;
        }

        do { $tokenKey = uniqid(); } while(isset($this->$tokenKey));

        $this->$tokenKey = $token;
        return $tokenKey;
    }

    public function get($tokenKey) {
        if(isset($tokenKey)) {
            return $this->$tokenKey;
        }
        return null;
    }

    public function hasToken($token) {
        foreach($this as $key => $val) {
            if($val === $token) return $key;
        }
        return false;
    }
}
问题回答

我不认为你可以。

你们可以拯救被指为 co的象征,或将其用作GET的一环,但每15分钟即可到期(每页一页再翻一番)。 检查同样的用户,如果你想走IP公路,IP地址(无论它能提供虚假的正面信息,我不建议这样做)。





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

MALICIOUS_CODE EI_EXPOSE_REP Medium

I run findbugs against all of my code and only tackle the top stuff. I finally got the top stuff resolved and now am looking at the details. I have a simple entity, say a user: public class User ...

XSS on jsbin.com

Anyone know if jsbin.com implements any protection for XSS or other javascript attacks? I see jsbin links used fairly regularly on sites like this one and I can t find any indication from the site ...

Make md5 strong

Im making a website that will intergrate with game that only support md5 hashing metod (atm). Which ofc is not especially safe anymore. But how could i make it stronger? Should I just generate long ...

Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

热门标签