Hey guy's

How would i go about adding site security to me web page .. I'm new at this so bare with me.

Would I have to buy an application or is it somehting like a DLL that I have to implement?

In site security I mean .. Password authentication and maybe later on C-Card details.

Thanks in advance!