Yaa that is definitely illegal. As said by the webmaster, if the company whose rules are you going to violate, start a case in your name, then there is a great possibility for you to go behind the bar. So, avoid them.
"For quitters never win, for winners never quit"
Syed Musaddiq Andrabi