Question: I have a wordpress site at a Ubuntu 12.04 server with Apache installed as the web server. I would like to temporarily remove it from my website and enable another website (not wordpress, just plain HTML,PHP). How can I do that?

thanks

Answer: 
Using a hash to access some stored information without the need of logging in isn't a bad idea. BUT that hash should not be generated based on already known data like IDs, email-address or similar data that could be known or guessed by any user.

Instead it is necessary to randomly generate a long enough hash thats value couldn't be guessed or generated out of any known data.
The already mentioned byte function from random.org could be a good choice for that.
include a hash param which value is calculated based on several parameters. for example, for your url o would calculate the hash like this:

```
$uniqueKeyString="some random characters";
transactionHash=md5("domain.com".$productId.time().$uniqueKeyString);

```

where `$uniqueKeyString` is a secret value (some random integer) only you know.
than, when a request will come to your servers, you can simply calculate the hash string yourself and compare it with the `transactionHash` of the request whether it is the same.