Securing the decoding algorithm - SQL or on SERVER side

bocokloy

New Member
In given database Table login creds are:username,password,decoded ip addressto validate login i need to decode the ip address string,where it is mostly secure to decode it:1)sql side - programability layer2)server side - hardcoded in code layerI don't care about maintenance, mostly important is securing the decoding algorithm.I found an article saying that if database was hacked or certain person succeed to connect to it ,if the decoding algorithm will be on sql side, it will be revealed, so for this reasonif algorithm will be hardcoded then it could be revealed only if source code would be stolen.Do you agree?
 
Back
Top