Temporary injunctions can be granted under both the Specific Relief Act, 1963 and the Civil Procedure Code, 1908. Under the Specific Relief Act, Section 36 provides courts the discretion to grant temporary or perpetual injunctions to provide preventive relief. Section 37(1) notes temporary injunctions are also regulated by the Civil Procedure Code but the court's jurisdiction is not restricted only to what is provided in the Code. The document discusses the kinds of injunctions, provides an illustration, and notes the principles around temporary injunctions.