Jump to content

[SOLVED] Security: SSL and other


Distant_storm

Recommended Posts

Ok got a few questions here.

 

a) With sessions is it worth the code hastle to hash the session file before any writing or reading to be done. to check that the data is valid ?

 

b) Does anyone know any basic introductions to SSL as I want to use it as its most effective against session hijacking and other attacks.

Link to comment
Share on other sites

Im using a Host and its linux based.

 

I believed that SSL would protect sessions as it stops network eavesdropping for potential threats looking for PHPSESSID. ?? Or im i totaaly of the chart lol.

 

This is just incase someone put their network card into promiscuous mode which means they recieve all packets of data regardless of if their addressed to them ?

 

What is the best session protection ? apart from checking the session file using sh1 to check if it has changed at all and the path of session and timeout of the session ?

 

 

I also read alot about reverse proxy and proxy usage to fixate or hijack sessions ? how do protect against this ?

 

Thanks

Link to comment
Share on other sites

A couple of times a year I find it necessary to repeat the following:

 

The VAST majority of hacking/hijacking attempts are done by 'script kiddies' who are bored, and who only find success with the absolutely most dismal of security setups within a script or on a server (and you'd maybe be surprised, or not, at how many scripts/servers are technically 'wide open' and vulnerable).

 

That being said, there is, conversely, a tiny minority of 'professional' hackers who would try such sophisticated things as packet sniffing/hijacking etc. These pros are NOT looking to place a banner on your website. They are looking for 'paydirt', they want $$$, which means they are looking for credit card or other personal information that can be used directly or sold to 3rd party evil-doers.

 

Bottomline is, unless you are running a banking site or a busy eStore, there is absolutely no need to implement all of this paranoia. Properly closing software holes and keeping server software updated will keep out 99% of the idiots who download scripts and try to deface your website with their graffiti. The other 1% most likely isn't interested in the least in your website. So relax. After being a server administrator for over 8 years now, I can honestly tell you that all of this 'cloak and dagger' crap is... well... crap.

 

PhREEEk

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.