sakherq
10-01-2007, 07:21 AM
i heard from a post here that some hackers can write their own session values
in any web site if it is not secured by SSL authentication.
//correct me if iam wrong
i thought about some way to give sessions to users
with values generated by some encryption algorithm.
and every web page in my web site should check if that value in the session
can be a key for the same algorithm so i can make check if the given is not generated using my algorithm
i think many sites use such way, by giving a key to the uses, that can be seen in the url.
// another issue
is the hacker able to reach the folder that contain my web site php files
so he can see the algorithm and generate keys to act as admin in my web site for example.
in any web site if it is not secured by SSL authentication.
//correct me if iam wrong
i thought about some way to give sessions to users
with values generated by some encryption algorithm.
and every web page in my web site should check if that value in the session
can be a key for the same algorithm so i can make check if the given is not generated using my algorithm
i think many sites use such way, by giving a key to the uses, that can be seen in the url.
// another issue
is the hacker able to reach the folder that contain my web site php files
so he can see the algorithm and generate keys to act as admin in my web site for example.