I would like to know how secure memory is and PHP's usage of it were a hacker to gain full access to the server.
Lets say this happens:
- User visits login.domain.com
- Generates a cookie which stores a unique unlock key
- User is redirected to secure.domain.com which reads said cookie and decrypts the users data row
(Where both domains are hosted on completely separate servers so key & data are not in the same place)
Were someone to gain access to the server at the same point as 3 is occurring - how easy is it for someone to also see/read the Cookie's content from the user? Equally if PHP is simply processing variables etc how easy is it for them to be read too?
I appreciate that no system is ever 100% secure but I want to make sure that there is nothing obvious that can be done apart from management of access to the server in the first place (considering its hosted by one of the top 20 hosting companies).