Computer Crime Act 2007 · As enacted · Part I · Computer Crime
4. Doing any act to secure unauthorised access in order to commit an offence
Feedback & supportOfficial English translation. The Sinhala text prevails. Open the official Sinhala text, official PDF on documents.gov.lk
In plain English
It is an offence to intentionally act to get unauthorised access to a computer, or to information in it, in order to commit another offence. The penalty is a fine of up to two hundred thousand rupees, imprisonment of up to five years, or both. Merely turning on a computer can be enough.
Summary · Drafted with AI, checked against the official text on 13 Oct 2026.
Any person who intentionally does any act, in order to secure for himself or for any other person, access to—
any computer ; or
computer
“computer” means an electronic or similar device having information processing capabilities;
any information held in any computer, knowing or having reason to believe that he has no lawful authority to secure such access and with the intention of committing an offence under this Act or any other law for the time being in force, shall be guilty of an offence and shall on conviction be liable to a fine not exceeding two hundred thousand rupees or to imprisonment of either description for a term which may extend to five years or to both such fine and imprisonment.
information
“information” includes data, text, images, sound, codes, computer programmes, databases or microfilm;
Explanation 1— for the purposes of paragraph (a)
the mere turning on of a computer is sufficient.
Explanation 2— for the purposes of paragraph (b)-
there should be an intention to sccure any programme or data held in any computer ;
the access intended to be sccured, should be unauthorised;
it is not necessary to have access directed at any particular programme, data or computer.